From 615af82c9ea47993e78b00e9c64e887e063474f8 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 04 九月 2024 22:08:50 +0800
Subject: [PATCH] 点位修改增加部级标签设置

---
 ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml |    3 ++-
 1 files changed, 2 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 9f137f1..eb5d13e 100644
--- a/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
+++ b/ycl-server/src/main/resources/mapper/zgyw/CheckIndexVideoMapper.xml
@@ -52,6 +52,7 @@
             <if test="keyTimingAccuracy != null "> and key_timing_accuracy = #{keyTimingAccuracy}</if>
             <if test="keyCommandImageOnline != null "> and key_command_image_online = #{keyCommandImageOnline}</if>
             <if test="imageResourceSecurity != null "> and image_resource_security = #{imageResourceSecurity}</if>
+            <if test="params.publish != null  and params.publish != ''">and publish = #{params.publish}</if>
             <if test="deptIds != null ">and tciv.dept_id in
             <foreach collection="deptIds" separator="," open="(" close=")" item="deptId">
                 #{deptId}
@@ -208,7 +209,7 @@
             rn = 1;
     </select>
 
-    <select id="selectLastOneByDept" resultType="java.util.Map">
+    <select id="selectLastOneByDept" resultType="com.ycl.platform.domain.dto.ImageResourceDTO">
         WITH temp AS (
             SELECT
                 image_resource_security AS imageResourceSecurity,

--
Gitblit v1.8.0