From a4d54f771794a8ea36319c679d489180b595edfd Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 30 九月 2024 12:13:01 +0800
Subject: [PATCH] 工单取图片优化
---
ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
index c6d6db9..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}
@@ -178,8 +177,14 @@
AND dept_id = #{deptId}
</if>
<if test="dataScope == 1">
+ AND examine_tag = 0
+ </if>
+ <if test="dataScope == 2">
AND examine_tag = 1
</if>
+ <if test="dataScope == 3">
+ AND examine_tag = 2
+ </if>
</where>
ORDER BY
create_time DESC
--
Gitblit v1.8.0