Browse Source

app被踢出的团队成员问题

黄远 5 years ago
parent
commit
be90f5adb3

+ 2 - 1
lift-system-service/src/main/java/cn/com/ty/lift/system/user/service/impl/MtCompanyUserService.java

@@ -275,10 +275,11 @@ public class MtCompanyUserService extends ServiceImpl<MtCompanyUserMapper, MtCom
     @Override
     public RestResponse appGetCompanyMembers(MtCompanyUserRequest mtCompanyUserRequest) {
         IPage companyUserPage = new Page<>(mtCompanyUserRequest.getPageNum(), mtCompanyUserRequest.getPageSize());
-        //分页获取团队信息
+        //分页获取团队成员信息
         companyUserPage = this.page(companyUserPage, new QueryWrapper<MtCompanyUser>()
                 .eq("mt_company_id", mtCompanyUserRequest.getCompanyId())
                 .eq("delete_flag", ApiConstants.DELETE_NO)
+                .eq("status", ApiConstants.ApplicationConstants.APPLY_PASS)
         );
         List<MtCompanyUser> mtCompanyUserList = companyUserPage.getRecords();
         if (mtCompanyUserList != null && mtCompanyUserList.size() > 0) {