From ed8f08873f9869ef04c1129f1b9206197c1a7c73 Mon Sep 17 00:00:00 2001 From: zhouxiantao <1026371446@qq.com> Date: Fri, 18 Oct 2024 15:55:05 +0800 Subject: [PATCH] refactor:解纷态势-统计范围和本级统计重构 --- dyh-service/dyh-cust/src/main/java/cn/huge/module/ctuser/dao/mapper/xml/CtUseroleMapper.xml | 8 ++++++++ 1 files changed, 8 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 f3b00cb..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 @@ -151,4 +151,12 @@ 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