nnnjjj123
2021-01-06 3b67e70f41bac39d1d74d2039a2fb286a32a8d41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.catalog.mapper.catalogMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="catalogResultMap" type="org.springblade.modules.catalog.entitly.catalog">
        <id column="id" property="id"/>
        <result column="name" property="name"/>
        <result column="pid" property="pid"/>
        <result column="eqid" property="eqid"/>
    </resultMap>
 
 
    <select id="selectCatalogList" resultMap="catalogResultMap">
        SELECT id,name,pid FROM `sys_catalog`
    </select>
 
 
</mapper>