From 00709a2494f3c9fd0f27a0ad32417d25679cfb2e Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期三, 20 三月 2024 15:11:33 +0800
Subject: [PATCH] 临时提交

---
 src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml b/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
index 37aaada..dad4ef2 100644
--- a/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
+++ b/src/main/resources/mybatis/tr/HiddenDangerCheckMapper.xml
@@ -200,11 +200,15 @@
                 </foreach>)
             </if>
 
-            <if test="checkUserName != null  and checkUserName != ''"> and a.check_user_name like concat('%', #{checkUserName}, '%')</if>
             <if test="beCheckedDeptId != null "> and a.be_checked_dept_id = #{beCheckedDeptId}</if>
             <if test="beCheckedDeptName != null  and beCheckedDeptName != ''"> and a.be_checked_dept_name like concat('%', #{beCheckedDeptName}, '%')</if>
-            <if test="checkBeginTime != null  and checkBeginTime != ''"> and a.check_begin_time = #{checkBeginTime}</if>
-            <if test="checkEndTime != null  and checkEndTime != ''"> and a.check_end_time = #{checkEndTime}</if>
+
+
+            <if test="checkBeginTime != null  and checkBeginTime != ''"> AND a.create_time &gt;= date_format(#{checkBeginTime},'%y%m%d') </if>
+            <if test="checkEndTime != null  and checkEndTime != ''"> AND date_format(#{checkEndTime},'%y%m%d') >= a.create_time </if>
+            <if test="checkUserName != null  and checkUserName != ''"> and a.update_by like concat('%', #{checkUserName}, '%')</if>
+
+
             <if test="planFormulateStatus != null  and planFormulateStatus != ''"> and a.plan_formulate_status = #{planFormulateStatus}</if>
             <if test="planExecuteStatus != null  and planExecuteStatus != ''"> and a.plan_execute_status = #{planExecuteStatus}</if>
             <if test="checkStatus != null  and checkStatus != ''"> and a.check_status = #{checkStatus}</if>

--
Gitblit v1.9.2