libo лет назад: 4
Родитель
Сommit
361bea9fb6
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/main/resources/mapper/UserMapper.xml

+ 2 - 0
src/main/resources/mapper/UserMapper.xml

@@ -168,6 +168,7 @@
168 168
                 user_bind ub
169 169
             where
170 170
                 ub.del_flag = 0
171
+              and ub.type = 0
171 172
               and ub.bind_uid = #{uid}
172 173
         )
173 174
         group by
@@ -200,6 +201,7 @@
200 201
                         user_bind ub
201 202
                     where
202 203
                         ub.del_flag = 0
204
+                        and ub.type = 0
203 205
                         and ub.bind_uid = #{uid}
204 206
             )
205 207
         <choose>