增加活动表单设计的功能
This commit is contained in:
parent
7a3f604763
commit
eac3d0c6de
@ -55,7 +55,7 @@ public class AppAgentEmployeeRelationServiceImpl implements IAppAgentEmployeeRel
|
||||
Integer employeeUserId = StpUtil.getLoginIdAsInt();
|
||||
MpAgentEmployeeRelationEntity one = mpAgentEmployeeRelationService.lambdaQuery().eq(MpAgentEmployeeRelationEntity::getEmployeeUserId, employeeUserId).one();
|
||||
if (one == null) {
|
||||
return PageConverterUtils.convertPageListBean(page, null);
|
||||
return new PageListBean<>();
|
||||
}
|
||||
// 获取代理商ID
|
||||
Integer agentId = one.getAgentId();
|
||||
@ -68,7 +68,7 @@ public class AppAgentEmployeeRelationServiceImpl implements IAppAgentEmployeeRel
|
||||
List<Integer> matchUserIds = userInfoServiceApi.getUserIdsByUserNameLike(query.getEmployeeName());
|
||||
if (CollectionUtil.isEmpty(matchUserIds)) {
|
||||
log.info("无匹配员工");
|
||||
return PageConverterUtils.convertPageListBean(page, null);
|
||||
return new PageListBean<>();
|
||||
}
|
||||
wrapper.in(MpAgentEmployeeRelationEntity::getEmployeeUserId, matchUserIds);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user