he2802 3 jaren geleden
bovenliggende
commit
44bc925ef5
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/base/UserProfileMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/base/UserProfileMapper.xml

@@ -61,6 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         user_profile up
         where 1=1
         and up.current_status = 1
+        and up.status != -1
         <if test="status != null and status.size()!=0 ">
             AND up.status in
             <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">