zhongrj
2022-10-24 0cc95376f2af6fa5dfbe63ff79cbaf94674531e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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.layer.mapper.LayerMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="layerResultMap" type="org.springblade.modules.layer.entity.Layer">
        <id column="id" property="id"/>
        <result column="layername" property="layername"/>
        <result column="layerurl" property="layerurl"/>
        <result column="type" property="type"/>
    </resultMap>
 
 
    <select id="selectLayerPage" resultMap="layerResultMap">
        select * from sys_layer where is_deleted = 0
    </select>
 
</mapper>