| | |
| | | <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"> |
| | |
| | | jw_grid_code, |
| | | alarm_response_time, |
| | | alarm_describe, |
| | | public_incidents |
| | | public_incidents, |
| | | status, |
| | | longitude, |
| | | latitude |
| | | from |
| | | jczz_police_alarm_records |
| | | </sql> |
| | |
| | | <!-- <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>--> |
| | | |