青羊经侦大队-数据平台
baizonghao
2023-04-23 028bd9c7cccb1ba7569636c631fa3c83a16d3e48
src/main/resources/mapper/GroupDao.xml
@@ -7,10 +7,11 @@
        <result property="groupId" column="group_id"/>
        <result property="userName" column="real_name"/>
        <result property="banSpeech" column="ban_speech"/>
        <result property="remark" column="user_memo"/>
    </resultMap>
    <select id="getAllUser" resultMap="GroupUserVoMap">
        select group_user.user_id,group_user.group_id, group_user.ban_speech, user.real_name
        select group_user.user_id,group_user.group_id, group_user.ban_speech, user.real_name, user.user_memo
        FROM group_user
                 JOIN report ON report.id = group_user.user_id
                 JOIN `user` ON `user`.id = report.user_id