소스 검색

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

yfh 1 개월 전
부모
커밋
09d286b9ba
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      fs-service-system/src/main/resources/mapper/store/FsUserMapper.xml

+ 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 >