zhongrj
2024-12-26 a1272d78844574b86645149a0d8ca257c2b8fe91
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
26
27
<?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.modules.yw.mapper.ProTarMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="proTarResultMap" type="org.springblade.modules.yw.entity.ProTarEntity">
        <result column="id" property="id"/>
        <result column="name" property="name"/>
        <result column="lng" property="lng"/>
        <result column="lat" property="lat"/>
        <result column="address" property="address"/>
        <result column="feature" property="feature"/>
        <result column="vol" property="vol"/>
        <result column="in_river" property="inRiver"/>
        <result column="create_user" property="createUser"/>
        <result column="create_time" property="createTime"/>
        <result column="update_user" property="updateUser"/>
        <result column="update_time" property="updateTime"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
 
    <!--自定义分页查询-->
    <select id="selectProTarPage" resultMap="proTarResultMap">
        select * from yw_pro_tar where is_deleted = 0
    </select>
 
</mapper>