|
@@ -109,10 +109,12 @@ public class UserLogic {
|
|
|
//获取当前登录企业微信id
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser(request);
|
|
|
List<String> companyWechatIds = adminUser.getAdminCompanyIds();
|
|
|
+ List<String> adminWebsitIds = adminUser.getAdminWebsitIds();
|
|
|
|
|
|
LambdaQueryWrapper<User> memberLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
memberLambdaQueryWrapper
|
|
|
.in(CollectionUtils.isNotEmpty(companyWechatIds), User::getCompanyWechatId, companyWechatIds)
|
|
|
+ .in(CollectionUtils.isNotEmpty(adminWebsitIds), User::getWebsitId, adminWebsitIds)
|
|
|
.eq(isExchangeCode != null,User::getIsExchangeCode,isExchangeCode)
|
|
|
.eq(promotionGroupLeader != null, User::getPromotionGroupLeader, promotionGroupLeader)
|
|
|
.eq(StringUtils.isNotEmpty(type), User::getType, type)
|
|
@@ -563,7 +565,8 @@ public class UserLogic {
|
|
|
//获取当前登录企业微信id
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser(request);
|
|
|
List<String> companyWechatIds = adminUser.getAdminCompanyIds();
|
|
|
- IPage<UserApplyBean> page = wxCustomerMapper.queryServiceApplyList(new Page<>(pageNum, pageSize), companyWechatIds, keyword, status);
|
|
|
+ List<String> adminWebsitIds = adminUser.getAdminWebsitIds();
|
|
|
+ IPage<UserApplyBean> page = wxCustomerMapper.queryServiceApplyList(new Page<>(pageNum, pageSize), companyWechatIds, keyword, status,adminWebsitIds);
|
|
|
return page;
|
|
|
}
|
|
|
|
|
@@ -614,6 +617,7 @@ public class UserLogic {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
return userServiceWaitService.lambdaQuery()
|
|
|
.eq(UserServiceWait::getCompanyWechatId, adminUser.getCompanyWechatId())
|
|
|
+ .eq(CollectionUtils.isNotEmpty(adminUser.getAdminWebsitIds()),UserServiceWait::getWebsitId, adminUser.getAdminWebsitIds())
|
|
|
.like(StringUtils.isNotBlank(websitId), UserServiceWait::getWebsitId, websitId)
|
|
|
.like(StringUtils.isNotBlank(websitName), UserServiceWait::getWebsitName, websitName)
|
|
|
.like(StringUtils.isNotBlank(workUserId), UserServiceWait::getWorkerId, workUserId)
|