zhongrj
2023-10-31 85b366e87d9fc91b638ff592752b9f6f36364f3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.label.mapper.LabelMapper">
 
    <!--自定义列表-->
    <select id="selectLabelPage" resultType="org.springblade.modules.label.vo.LabelVO">
        select * from jczz_label where 1=1
    </select>
 
    <!--标签查询,按父id查询下级-->
    <select id="getLabelList" resultType="org.springblade.modules.label.vo.LabelVO">
        select * from jczz_label where is_deleted = 0
        and parent_id = #{label.parentId}
    </select>
 
 
</mapper>