liuyg
2022-03-22 04ba725c9fac626ef0f02435ec8243321a15725c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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"/>
    </resultMap>
 
 
    <select id="selectSpPage" resultMap="spResultMap">
        select * from sys_sp where is_deleted = 0
    </select>
 
</mapper>