From b9c9cfff20129a4cb787b752c900da2d7fe7c4eb Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期日, 08 十月 2023 11:48:22 +0800 Subject: [PATCH] 增加同步设备状态任务 --- ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml index 4e17b31..c8fa4e0 100644 --- a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml +++ b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml @@ -32,6 +32,7 @@ <result property="operatorExpired" column="operator_expired"/> <result property="camMaxVisibleDistance" column="cam_max_visible_distance"/> <result property="camAlarmGuideEnable" column="cam_alarm_guide_enable"/> + <result property="state" column="state"/> </resultMap> <sql id="selectArdCamerasVo"> @@ -61,7 +62,8 @@ c.operator_id, c.operator_expired, c.cam_max_visible_distance, - c.cam_alarm_guide_enable + c.cam_alarm_guide_enable, + c.state from ard_cameras c left join sys_dept d on d.dept_id = c.dept_id left join sys_user u on u.user_id = c.user_id @@ -236,6 +238,7 @@ <if test="updateTime != null">update_time = #{updateTime},</if> <if test="operatorId != null">operator_id = #{operatorId},</if> <if test="operatorExpired != null">operator_expired = #{operatorExpired},</if> + <if test="state != null">state = #{state},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3