From 3351ade035a3a027d38e0372e496a5669cd7bde2 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 30 九月 2024 00:34:42 +0800 Subject: [PATCH] 下发工单bug --- ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml index bad4ffe..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"> @@ -149,8 +148,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