From f962534ae431779f3e341365af2e30fdd0afeb0f Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期日, 13 十月 2024 16:20:13 +0800 Subject: [PATCH] 点位在线率恢复为取优云和海康数据 --- ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml index baea4cf..9901c81 100644 --- a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml +++ b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexFaceMapper.xml @@ -36,6 +36,9 @@ <if test="deptId != null "> and tcif.dept_id = #{deptId}</if> <if test="examineTag != null "> and tcif.examine_tag = #{examineTag}</if> <if test="examineTagQuery != null "> and p.province_tag = #{examineTagQuery}</if> + <if test="quarter != null and quarter.size > 0"> + and date_format(tcs.create_time, '%Y-%m') between #{quarter[0]} and #{quarter[1]} + </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="params.publish != null and params.publish != ''">and tcif.publish = #{params.publish}</if> -- Gitblit v1.8.0