From 6decb63d865de6b551324fd9782555786132170e Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 07 十一月 2023 16:11:22 +0800 Subject: [PATCH] 1、修改相机异步登录 2、sdk切换更改为策略模式 3、修复手动巡检停止录像bug --- ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml index 185cbd9..b47d788 100644 --- a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml @@ -102,7 +102,16 @@ </foreach> </select> + <select id="carListById" parameterType="String" resultMap="ArdSyCarResult"> - select * from ard_sy_car where car_id = #{carId} + select * from ard_sy_car where id = #{id} + </select> + <select id="getArdSyCarAndDeptByCarId" parameterType="String" resultType="java.util.Map"> + select asc0.id,asc0.car_id as "carId",coalesce(asc0.car_model,'') as "carModel", + coalesce(asc0.car_type,'') as "carType",coalesce(asc0.car_brand,'') as "carBrand", + asc0.dept_id as "deptId",asc0.car_picture as "carPicture",sd.ancestors, + sd.dept_name as "deptName" from ard_sy_car asc0 + inner join sys_dept sd on asc0.dept_id = sd.dept_id + where asc0.car_id = #{carId} </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3