| | |
| | | <result column="fly_date_start" property="flyDateStart"/> |
| | | <result column="fly_date_end" property="flyDateEnd"/> |
| | | <result column="area_code" property="areaCode"/> |
| | | <result column="police_station_name" property="policeStationName"/> |
| | | <result column="police_station_contact_person" property="policeStationContactPerson"/> |
| | | <result column="police_station_contact_phone" property="policeStationContactPhone"/> |
| | | <result column="create_user" property="createUser"/> |
| | | <result column="create_dept" property="createDept"/> |
| | | <result column="create_time" property="createTime"/> |
| | | <result column="update_user" property="updateUser"/> |
| | | <result column="update_time" property="updateTime"/> |
| | | <result column="status" property="status"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="fwAreaDivideStatisticsResultMap" type="org.sxkj.fw.area.vo.FwAreaDivideStatisticsVO"> |
| | |
| | | |
| | | <select id="selectFwAreaDividePage" resultMap="fwAreaDivideResultMap"> |
| | | select |
| | | ad.id, |
| | | ad.area_name, |
| | | ad.trigger_condition, |
| | | ad.response_mechanism, |
| | | ad.control_level, |
| | | ad.police_station_id, |
| | | ad.device_ids, |
| | | ad.fly_date_start, |
| | | ad.fly_date_end, |
| | | ad.area_code, |
| | | ps.station_name as police_station_name, |
| | | ad.create_user, |
| | | ad.create_dept, |
| | | ad.create_time, |
| | | ad.update_user, |
| | | ad.update_time, |
| | | ad.status, |
| | | ad.is_deleted |
| | | ad.* |
| | | from |
| | | ja_fw_area_divide ad |
| | | left join |
| | |
| | | |
| | | <select id="selectFwAreaDivideList" resultMap="fwAreaDivideResultMap"> |
| | | select |
| | | ad.id, |
| | | ad.area_name, |
| | | ad.trigger_condition, |
| | | ad.response_mechanism, |
| | | ad.control_level, |
| | | ad.police_station_id, |
| | | ad.device_ids, |
| | | ad.fly_date_start, |
| | | ad.fly_date_end, |
| | | ad.area_code, |
| | | ps.station_name as police_station_name, |
| | | ad.create_user, |
| | | ad.create_dept, |
| | | ad.create_time, |
| | | ad.update_user, |
| | | ad.update_time, |
| | | ad.status, |
| | | ad.is_deleted |
| | | ad.* |
| | | from ja_fw_area_divide ad |
| | | left join ja_fw_police_station ps on ps.id = ad.police_station_id and ps.is_deleted = 0 |
| | | <where> |
| | |
| | | |
| | | <select id="selectFwAreaDivideDetail" resultMap="fwAreaDivideResultMap"> |
| | | select |
| | | ad.id, |
| | | ad.area_name, |
| | | ad.trigger_condition, |
| | | ad.response_mechanism, |
| | | ad.control_level, |
| | | ad.police_station_id, |
| | | ad.device_ids, |
| | | ad.fly_date_start, |
| | | ad.fly_date_end, |
| | | ad.area_code, |
| | | ps.station_name as police_station_name, |
| | | ps.contact_person as police_station_contact_person, |
| | | ps.contact_phone as police_station_contact_phone, |
| | | ad.create_user, |
| | | ad.create_dept, |
| | | ad.create_time, |
| | | ad.update_user, |
| | | ad.update_time, |
| | | ad.status, |
| | | ad.is_deleted |
| | | ad.*, |
| | | ps.station_name as police_station_name, |
| | | ps.contact_person as police_station_contact_person, |
| | | ps.contact_phone as police_station_contact_phone |
| | | from ja_fw_area_divide ad |
| | | left join ja_fw_police_station ps on ps.id = ad.police_station_id and ps.is_deleted = 0 |
| | | where ad.is_deleted = 0 |