From e36aa4e9b9f061da11587fbd2580b065a661364a Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期三, 03 四月 2024 09:51:05 +0800 Subject: [PATCH] bug修复 --- meiya-admin/src/main/java/com/sinata/modular/member/dao/mapping/MemUserMapper.xml | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/meiya-admin/src/main/java/com/sinata/modular/member/dao/mapping/MemUserMapper.xml b/meiya-admin/src/main/java/com/sinata/modular/member/dao/mapping/MemUserMapper.xml index 61ad63e..f2f759f 100644 --- a/meiya-admin/src/main/java/com/sinata/modular/member/dao/mapping/MemUserMapper.xml +++ b/meiya-admin/src/main/java/com/sinata/modular/member/dao/mapping/MemUserMapper.xml @@ -48,12 +48,21 @@ id, create_time, show_id, phone, nick_name, password, avatar, is_lock, is_delete, is_leave_office, leave_office_time, real_name, id_card, city_code, member_grade_id, member_grade_time, sex, birthday, signature, address, apply_time, audit_state, audit_time, card_type, integral, balance, balance_freeze, credit_score, bank_name, bank_open, bank_number, id_card_front_image, id_card_back_image, id_card_hand_image, sign_image, equity_user_id, equity_order_no </sql> - + <sql id="Auth_Column_List"> + o.id, o.create_time, o.show_id, o.nick_name,o.password, o.avatar, o.is_lock, o.is_delete, o.is_leave_office, o.leave_office_time,o. real_name, o.id_card, o.city_code, o.member_grade_id, o.member_grade_time, o.sex, o.birthday, + o.signature, o.address,o.apply_time, o.audit_state, o.audit_time, o.card_type, o.integral,o.balance, o.balance_freeze, o.credit_score, o.id_card_front_image, o.id_card_back_image, o.id_card_hand_image, o.sign_image, o.equity_user_id, o.equity_order_no, + </sql> <select id="getMapList" resultType="java.util.Map"> SELECT o.*, ur.relation_path FROM mem_user o LEFT JOIN mem_user_relation ur ON ur.id = o.id WHERE 1 = 1 ${ew.sqlSegment} </select> + <select id="getMapListAuth" resultType="java.util.Map"> + SELECT <include refid="Auth_Column_List"/> ur.relation_path + FROM mem_user o + LEFT JOIN mem_user_relation ur ON ur.id = o.id + WHERE 1 = 1 ${ew.sqlSegment} + </select> </mapper> -- Gitblit v1.7.1