| | |
| | | <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 |