From e142433c71b032ce85546477543d65da0f3986b8 Mon Sep 17 00:00:00 2001
From: liyj <15602261488@163.com>
Date: Sat, 21 Sep 2024 13:20:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/gzdyh_test' into gzdyh_test

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 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 162c278..4ed8a6f 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
@@ -5,7 +5,7 @@
  * @description: 自定义sql,请自行实现业务逻辑
  * @company: hugeinfo
  * @author: liyj
- * @time:2024-08-17 15:30:57
+ * @time:2024-08-19 20:04:19
  * @version 1.0.0
 -->
 <mapper namespace="cn.huge.module.ctuser.dao.mapper.CtUseroleMapper">
@@ -142,4 +142,21 @@
         limit #{page.offset}, #{page.size}
     </select>
 
+    <select id="listRoleCode" resultType="String">
+        select
+        role_code
+        FROM
+        <include refid="table-name" />
+        WHERE
+        user_id = #{userId}
+    </select>
+
+    <select id="listRoleName" resultType="String">
+        select
+        role_name
+        FROM
+        <include refid="table-name" />
+        WHERE
+        user_id = #{userId}
+    </select>
 </mapper> 
\ No newline at end of file

--
Gitblit v1.8.0