linwe
2023-12-01 5d5cd3ad979a0b85ab8c7034dcad1663fdcf71be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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.category.mapper.CategoryMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="categoryResultMap" type="org.springblade.modules.category.entity.CategoryEntity">
        <result column="id" property="id"/>
        <result column="category_no" property="categoryNo"/>
        <result column="category_name" property="categoryName"/>
        <result column="parent_no" property="parentNo"/>
        <result column="importance" property="importance"/>
        <result column="remark" property="remark"/>
        <result column="level" property="level"/>
        <result column="description" property="description"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
 
 
    <select id="selectCategoryPage" resultMap="categoryResultMap">
        select * from jczz_category where is_deleted = 0
    </select>
 
 
</mapper>