Просмотр исходного кода

解决会员定制需求多出一套数据问题

JiangChongBo 2 лет назад
Родитель
Сommit
705364f290
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/resources/mapper/SystemMapper.xml

+ 1 - 0
src/main/resources/mapper/SystemMapper.xml

@@ -267,6 +267,7 @@
           and base_flag = 0
           and status = 0
           and m.parent_id = 0
+          GROUP BY m.id
     </select>
     <select id="getVipRoleIdList" resultType="java.lang.Integer">
         select role_id from auth_role_user where user_id = #{authUserId}