From 0817f426f3ff66c6ab07f81d17e77be106b9c622 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Mon, 26 Aug 2024 14:26:59 +0800 Subject: [PATCH] 代码生成器优化 --- dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml index d54d5dd..f3b00cb 100644 --- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml +++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml @@ -142,4 +142,13 @@ limit #{page.offset}, #{page.size} </select> + <select id="listRoleCode" resultType="String"> + select + role_code + FROM + <include refid="table-name" /> + WHERE + user_id = #{userId} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.8.0