| | |
| | | <result column="fly_date_start" property="flyDateStart"/> |
| | | <result column="fly_date_end" property="flyDateEnd"/> |
| | | <result column="area_code" property="areaCode"/> |
| | | <result column="area_type_keys" property="areaTypeKeys"/> |
| | | <result column="police_station_name" property="policeStationName"/> |
| | | <result column="police_station_contact_person" property="policeStationContactPerson"/> |
| | | <result column="police_station_contact_phone" property="policeStationContactPhone"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="fwAreaDivideStatisticsResultMap" type="org.sxkj.fw.area.vo.FwAreaDivideStatisticsVO"> |
| | |
| | | |
| | | <select id="selectFwAreaDividePage" resultMap="fwAreaDivideResultMap"> |
| | | select |
| | | ad.* |
| | | 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 |
| | |
| | | |
| | | <select id="selectFwAreaDivideList" resultMap="fwAreaDivideResultMap"> |
| | | select |
| | | ad.* |
| | | 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> |
| | |
| | | fly_date_start, |
| | | fly_date_end, |
| | | area_code, |
| | | area_type_keys, |
| | | create_user, |
| | | create_dept, |
| | | create_time, |
| | |
| | | #{flyDateStart}, |
| | | #{flyDateEnd}, |
| | | #{areaCode}, |
| | | #{areaTypeKeys}, |
| | | #{createUser}, |
| | | #{createDept}, |
| | | #{createTime}, |
| | |
| | | <if test="flyDateStart != null">fly_date_start = #{flyDateStart},</if> |
| | | <if test="flyDateEnd != null">fly_date_end = #{flyDateEnd},</if> |
| | | <if test="areaCode != null">area_code = #{areaCode},</if> |
| | | <if test="areaTypeKeys != null">area_type_keys = #{areaTypeKeys},</if> |
| | | <if test="createUser != null">create_user = #{createUser},</if> |
| | | <if test="createDept != null">create_dept = #{createDept},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |