dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/dao/mapper/xml/SyCauseMapper.xml
@@ -5,7 +5,7 @@ * @description: 自定义sql,请自行实现业务逻辑 * @company: hugeinfo * @author: liyj * @time:2024-08-28 20:06:20 * @time:2024-09-09 14:31:21 * @version 1.0.0 --> <mapper namespace="cn.huge.module.kind.dao.mapper.SyCauseMapper"> @@ -136,4 +136,10 @@ limit #{page.offset}, #{page.size} </select> <!-- 查询js树形结构 --> <select id="listSelectJS" resultType="cn.huge.module.kind.domain.dto.CauseSelectJSDTO"> SELECT id AS value, name AS label, parent_id AS parentId FROM dyh_sy_cause order by level </select> </mapper>