zhongrj
2022-10-24 0cc95376f2af6fa5dfbe63ff79cbaf94674531e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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.sp.mapper.SpMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="spResultMap" type="org.springblade.modules.sp.entity.Sp">
        <id column="id" property="id"/>
        <result column="VrName" property="vrname"/>
        <result column="VrUrl" property="vrurl"/>
        <result column="jd" property="jd"/>
        <result column="wd" property="wd"/>
        <result column="addressName" property="addressName"/>
        <result column="spgs" property="spgs"/>
    </resultMap>
 
 
    <select id="selectSpPage" resultMap="spResultMap">
        select * from sys_sp where is_deleted = 0
    </select>
 
</mapper>