From 255a6915a9898fe6c1a6649cae707649226ec177 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期五, 08 九月 2023 16:30:34 +0800 Subject: [PATCH] 程序启动清空相机缓存列表重新加载 增加sdk获取相机聚焦值接口 修改相机登录时离线清空通道列表 增加获取码流压缩参数(分辨率/编码格式/码率/流类型) 优化相机在线离线业务方法,修改仅在线设备上传ptz --- ard-work/src/main/resources/mapper/app/ArdAppPatrolpointRecordMapper.xml | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/app/ArdAppPatrolpointRecordMapper.xml b/ard-work/src/main/resources/mapper/app/ArdAppPatrolpointRecordMapper.xml index 059380a..9812a3b 100644 --- a/ard-work/src/main/resources/mapper/app/ArdAppPatrolpointRecordMapper.xml +++ b/ard-work/src/main/resources/mapper/app/ArdAppPatrolpointRecordMapper.xml @@ -44,6 +44,12 @@ <if test="userId != null">user_id,</if> <if test="recordTime != null">record_time,</if> <if test="appPatrolpointsId != null">app_patrolpoints_id,</if> + <if test="planId != null">plan_id,</if> + <if test="planName != null">plan_name,</if> + <if test="recordImg != null">record_img,</if> + <if test="userName != null">user_name,</if> + <if test="appPatrolpointsName != null">app_patrolpoints_name,</if> + <if test="pointsNum != null">points_num,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id},</if> @@ -53,7 +59,13 @@ <if test="userId != null">#{userId},</if> <if test="recordTime != null">#{recordTime},</if> <if test="appPatrolpointsId != null">#{appPatrolpointsId},</if> - </trim> + <if test="planId != null">#{planId},</if> + <if test="planName != null">#{planName},</if> + <if test="recordImg != null">#{recordImg},</if> + <if test="userName != null">#{userName},</if> + <if test="appPatrolpointsName != null">#{appPatrolpointsName},</if> + <if test="pointsNum != null">#{pointsNum},</if> + </trim> </insert> <update id="updateArdAppPatrolpointRecord" parameterType="ArdAppPatrolpointRecord"> @@ -79,4 +91,14 @@ #{id} </foreach> </delete> + + <select id="es" parameterType="RecordDetailsParam" resultMap="ArdAppPatrolpointRecordResult"> + SELECT max(points_num) pointsNum,user_id,user_name FROM ard_app_patrolpoint_record + WHERE plan_id = #{planId} AND record_time <= #{toDay} GROUP BY user_id,user_name + </select> + + <select id="lt" parameterType="RecordDetailsParam" resultMap="ArdAppPatrolpointRecordResult"> + SELECT max(points_num) pointsNum,user_id,user_name FROM ard_app_patrolpoint_record + WHERE plan_id = #{planId} AND record_time like #{toDay} GROUP BY user_id,user_name + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3