<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="org.sxkj.fw.area.mapper.FwDefenseSceneManageMapper">
|
|
<!-- 通用查询映射结果 -->
|
<resultMap id="fwDefenseSceneManageResultMap" type="org.sxkj.fw.area.vo.FwDefenseSceneManageVO">
|
<result column="id" property="id"/>
|
<result column="defense_scene_id" property="defenseSceneId"/>
|
<result column="scene_name" property="sceneName"/>
|
<result column="longitude" property="longitude"/>
|
<result column="latitude" property="latitude"/>
|
<result column="defense_leader" property="defenseLeader"/>
|
<result column="leader_phone" property="leaderPhone"/>
|
<result column="effective_date_start" property="effectiveDateStart"/>
|
<result column="effective_date_end" property="effectiveDateEnd"/>
|
<result column="area_code" property="areaCode"/>
|
</resultMap>
|
|
|
<select id="selectFwDefenseSceneManagePage" resultMap="fwDefenseSceneManageResultMap">
|
select * from ja_fw_defense_scene_manage where is_deleted = 0
|
</select>
|
|
|
<select id="exportFwDefenseSceneManage" resultType="org.sxkj.fw.area.excel.FwDefenseSceneManageExcel">
|
SELECT * FROM ja_fw_defense_scene_manage ${ew.customSqlSegment}
|
</select>
|
|
</mapper>
|