tangzy
2021-09-08 b8bc64fb57ba906eba17f1fc9d87e5c789e39a0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?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.springblade.regionWeight.mapper.RegionWeightMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="regionWeightResultMap" type="org.springblade.regionWeight.entity.RegionWeight">
        <id column="ZHSW_REGION_WEIGHT_ID" property="zhswRegionWeightId"/>
        <result column="STATION_CODE" property="stationCode"/>
        <result column="STATION_NAME" property="stationName"/>
        <result column="REGION_NAME" property="regionName"/>
        <result column="REGION_CODE" property="regionCode"/>
        <result column="REGION_ADDRESS" property="regionAddress"/>
        <result column="AREA" property="area"/>
        <result column="WEIGHT" property="weight"/>
        <result column="SPARE1" property="spare1"/>
        <result column="SPARE2" property="spare2"/>
        <result column="SPARE3" property="spare3"/>
    </resultMap>
 
 
    <select id="selectRegionWeightPage" resultMap="regionWeightResultMap">
        select * from ZHSW_REGION_WEIGHT where is_deleted = 0
    </select>
 
</mapper>