From 2988d2670cf03ef1ab074b0c6cd54301570c8ba4 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期四, 24 八月 2023 12:01:26 +0800 Subject: [PATCH] 修复引导过程中修改相机导致引导队列中止出队的问题 增加一键派警描述字段 --- ard-work/src/main/resources/mapper/dispatch/ArdDispatchPoliceMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/dispatch/ArdDispatchPoliceMapper.xml b/ard-work/src/main/resources/mapper/dispatch/ArdDispatchPoliceMapper.xml index 7056376..6b0882c 100644 --- a/ard-work/src/main/resources/mapper/dispatch/ArdDispatchPoliceMapper.xml +++ b/ard-work/src/main/resources/mapper/dispatch/ArdDispatchPoliceMapper.xml @@ -7,6 +7,7 @@ <resultMap type="ArdDispatchPolice" id="ArdDispatchPoliceResult"> <result property="id" column="id"/> <result property="name" column="name"/> + <result property="text" column="text"/> <result property="longitude" column="longitude"/> <result property="latitude" column="latitude"/> <result property="deptId" column="dept_id"/> @@ -38,6 +39,7 @@ <sql id="selectArdDispatchPoliceVo"> SELECT ID, NAME, + text, longitude, latitude, dept_id, @@ -64,6 +66,7 @@ resultMap="ArdDispatchPoliceArdDispatchPoliceUserResult"> select a.id, a.name, + a.text, a.longitude, a.latitude, a.dept_id, @@ -84,6 +87,7 @@ <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null">id,</if> <if test="name != null">name,</if> + <if test="text != null">text,</if> <if test="longitude != null">longitude,</if> <if test="latitude != null">latitude,</if> <if test="deptId != null">dept_id,</if> @@ -96,6 +100,7 @@ <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id},</if> <if test="name != null">#{name},</if> + <if test="text != null">#{text},</if> <if test="longitude != null">#{longitude},</if> <if test="latitude != null">#{latitude},</if> <if test="deptId != null">#{deptId},</if> @@ -111,6 +116,7 @@ update ard_dispatch_police <trim prefix="SET" suffixOverrides=","> <if test="name != null">name = #{name},</if> + <if test="text != null">text = #{text},</if> <if test="longitude != null">longitude = #{longitude},</if> <if test="latitude != null">latitude = #{latitude},</if> <if test="deptId != null">dept_id = #{deptId},</if> -- Gitblit v1.9.3