From 89a6fbf105751fc13562b30db8fa8aec04caa35e Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期日, 29 九月 2024 11:54:41 +0800
Subject: [PATCH] 车辆考核重复积分bug

---
 ycl-server/src/main/resources/mapper/zgyw/CheckIndexCarMapper.xml   |    1 -
 ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml  |    1 -
 ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexCarMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexCarMapper.xml
index 9e37712..e8c64e5 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexCarMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexCarMapper.xml
@@ -54,7 +54,6 @@
     <select id="getCheckIndexCarList"  resultMap="CheckIndexCarResult">
         select tcic.*,sd.dept_name
         from t_check_index_car tcic left join sys_dept sd on tcic.dept_id = sd.dept_id
-        left join t_check_score tcs on tcic.id = tcs.index_id
         <where>
             <if test="examineTag != null "> and tcic.examine_tag = #{examineTag}</if>
             <if test="day != null "> and  date(tcic.create_time) = #{day}</if>
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml
index 66f5c54..0c10fd7 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml
@@ -54,7 +54,6 @@
         from t_check_index_face tcif left join sys_dept sd on tcif.dept_id = sd.dept_id
         <where>
             <if test="examineTag != null "> and tcif.examine_tag = #{examineTag}</if>
-            <if test="date != null "> and  date_format(tcif.create_time,'%Y-%m') = #{date}</if>
             <if test="day != null "> and  date(tcif.create_time) = #{day}</if>
             <if test="deptIds != null ">and tcif.dept_id in
                 <foreach collection="deptIds" separator="," open="(" close=")" item="deptId">
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
index c66973c..09c601b 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
@@ -61,7 +61,6 @@
         <where>
             <if test="examineTag != null "> and tciv.examine_tag = #{examineTag}</if>
             <if test="day != null "> and  date(tciv.create_time) = #{day}</if>
-            <if test="createTime != null "> and  date(tciv.create_time) = #{createTime}</if>
             <if test="deptIds != null ">and tciv.dept_id in
                 <foreach collection="deptIds" separator="," open="(" close=")" item="deptId">
                     #{deptId}

--
Gitblit v1.8.0