libo hace 4 años
padre
commit
361bea9fb6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/main/resources/mapper/UserMapper.xml

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

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