From fa4a77d9b52919f46733b6d30a6cf5136c8f6b05 Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Mon, 18 Mar 2024 14:46:11 +0800
Subject: [PATCH] 住户管理bug修复+报警记录添加字段
---
src/main/java/org/springblade/modules/police/mapper/PoliceAlarmRecordsMapper.xml | 47 +++++++++++++++++++++++++++--------------------
1 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/src/main/java/org/springblade/modules/police/mapper/PoliceAlarmRecordsMapper.xml b/src/main/java/org/springblade/modules/police/mapper/PoliceAlarmRecordsMapper.xml
index 18389d4..07ec2fa 100644
--- a/src/main/java/org/springblade/modules/police/mapper/PoliceAlarmRecordsMapper.xml
+++ b/src/main/java/org/springblade/modules/police/mapper/PoliceAlarmRecordsMapper.xml
@@ -31,6 +31,9 @@
<result property="alarmResponseTime" column="alarm_response_time" />
<result property="alarmDescribe" column="alarm_describe" />
<result property="publicIncidents" column="public_incidents" />
+ <result property="status" column="status" />
+ <result property="longitude" column="longitude" />
+ <result property="latitude" column="latitude" />
</resultMap>
<sql id="selectPoliceAlarmRecords">
@@ -53,7 +56,10 @@
jw_grid_code,
alarm_response_time,
alarm_describe,
- public_incidents
+ public_incidents,
+ status,
+ longitude,
+ latitude
from
jczz_police_alarm_records
</sql>
@@ -67,25 +73,26 @@
<!-- <select id="selectPoliceAlarmRecordsList" parameterType="rg.springblade.modules.dto.PoliceAlarmRecordsDTO" resultMap="PoliceAlarmRecordsDTOResult">-->
<!-- <include refid="selectPoliceAlarmRecords"/>-->
<!-- <where>-->
-<!-- <if test="id != null "> and id = #{id}</if>-->
-<!-- <if test="houseCode != null and houseCode != ''"> and house_code = #{houseCode}</if>-->
-<!-- <if test="address != null and address != ''"> and address = #{address}</if>-->
-<!-- <if test="name != null and name != ''"> and name = #{name}</if>-->
-<!-- <if test="phone != null and phone != ''"> and phone = #{phone}</if>-->
-<!-- <if test="alarmType != null and alarmType != ''"> and alarm_type = #{alarmType}</if>-->
-<!-- <if test="injuryFlag != null "> and injury_flag = #{injuryFlag}</if>-->
-<!-- <if test="gridCode != null and gridCode != ''"> and grid_code = #{gridCode}</if>-->
-<!-- <if test="createTime != null "> and create_time = #{createTime}</if>-->
-<!-- <if test="updateTime != null "> and update_time = #{updateTime}</if>-->
-<!-- <if test="policeId != null "> and police_id = #{policeId}</if>-->
-<!-- <if test="policeName != null and policeName != ''"> and police_name = #{policeName}</if>-->
-<!-- <if test="policePhone != null and policePhone != ''"> and police_phone = #{policePhone}</if>-->
-<!-- <if test="isDeleted != null "> and is_deleted = #{isDeleted}</if>-->
-<!-- <if test="gender != null "> and gender = #{gender}</if>-->
-<!-- <if test="jwGridCode != null and jwGridCode != ''"> and jw_grid_code = #{jwGridCode}</if>-->
-<!-- <if test="alarmResponseTime != null "> and alarm_response_time = #{alarmResponseTime}</if>-->
-<!-- <if test="alarmDescribe != null and alarmDescribe != ''"> and alarm_describe = #{alarmDescribe}</if>-->
-<!-- <if test="publicIncidents != null "> and public_incidents = #{publicIncidents}</if>-->
+<!-- <if test="id != null "> and id = #{id}</if>
+ <if test="houseCode != null and houseCode != ''"> and house_code = #{houseCode}</if>
+ <if test="address != null and address != ''"> and address = #{address}</if>
+ <if test="name != null and name != ''"> and name = #{name}</if>
+ <if test="phone != null and phone != ''"> and phone = #{phone}</if>
+ <if test="alarmType != null and alarmType != ''"> and alarm_type = #{alarmType}</if>
+ <if test="injuryFlag != null "> and injury_flag = #{injuryFlag}</if>
+ <if test="gridCode != null and gridCode != ''"> and grid_code = #{gridCode}</if>
+ <if test="createTime != null "> and create_time = #{createTime}</if>
+ <if test="updateTime != null "> and update_time = #{updateTime}</if>
+ <if test="policeId != null "> and police_id = #{policeId}</if>
+ <if test="policeName != null and policeName != ''"> and police_name = #{policeName}</if>
+ <if test="policePhone != null and policePhone != ''"> and police_phone = #{policePhone}</if>
+ <if test="isDeleted != null "> and is_deleted = #{isDeleted}</if>
+ <if test="gender != null "> and gender = #{gender}</if>
+ <if test="jwGridCode != null and jwGridCode != ''"> and jw_grid_code = #{jwGridCode}</if>
+ <if test="alarmResponseTime != null "> and alarm_response_time = #{alarmResponseTime}</if>
+ <if test="alarmDescribe != null and alarmDescribe != ''"> and alarm_describe = #{alarmDescribe}</if>
+ <if test="publicIncidents != null "> and public_incidents = #{publicIncidents}</if>
+ <if test="status != null "> and status = #{status}</if>-->
<!-- </where>-->
<!-- </select>-->
--
Gitblit v1.9.3