From 3222d83845148e2479af6aeb0f029def5f28f8b2 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Mon, 25 Mar 2024 12:34:53 +0800
Subject: [PATCH] Merge branch 'jc' of http://s16s652780.51mypc.cn:49896/r/zhba_management_w_bf into jc
---
src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
index 68101d2..9c51ba7 100644
--- a/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
@@ -230,7 +230,8 @@
ELT(sar.audit_status,"待审核","审核通过","审核不通过") auditStatus,
sar.audit_time auditTime,
sar.audit_detail auditDetail,
- if(bu.user_type=6,"是","否") userType
+ if(bu.user_type=6,"是","否") userType,
+ DATE_FORMAT(bu.paper_time,'%Y-%m-%d') as userPaperTime
FROM
sys_accreditation_records sar
left join
@@ -261,6 +262,9 @@
1=1
and bu.status = 1
and bu.is_deleted = 0
+ <if test="accreditationRecords.userPaperTime != null and accreditationRecords.userPaperTime !=''">
+ AND DATE_FORMAT(bu.paper_time,'%Y-%m-%d') = #{accreditationRecords.userPaperTime}
+ </if>
<if test="accreditationRecords.deptName!=null and accreditationRecords.deptName!=''">
and bt.dept_name like concat('%', #{accreditationRecords.deptName},'%')
</if>
--
Gitblit v1.9.3