Selaa lähdekoodia

调整项目会员管理过滤掉没有项目的信息

yfh 1 kuukausi sitten
vanhempi
commit
09d286b9ba

+ 1 - 1
fs-service-system/src/main/resources/mapper/store/FsUserMapper.xml

@@ -357,7 +357,7 @@
         LEFT JOIN company_user ON company_user.user_id = ucu.company_user_id
         LEFT JOIN company on company.company_id = company_user.company_id
         <where>
-        1 = 1 and u.nickname is not null
+        1 = 1 and u.nickname is not null and ucu.id is not null
         <if test = "maps.nickname != null and  maps.nickname !='' " >
             AND u.nickname LIKE CONCAT("%",#{maps.nickname},"%")
         </if >