|
@@ -253,9 +253,9 @@ public class CompanyUserController extends AppBaseController {
|
|
|
throw new ServiceException("类型不正确");
|
|
|
}
|
|
|
|
|
|
- if (param.getType() == 1 && (Objects.isNull(param.getIds()) || param.getIds().isEmpty())
|
|
|
- &&Objects.isNull(param.getProject()) || param.getProject().isEmpty()
|
|
|
- &&Objects.isNull(param.getTagList()) || param.getTagList().isEmpty()) {
|
|
|
+ if (param.getType() == 1 && (CollectionUtils.isEmpty(param.getIds()))
|
|
|
+ &&(CollectionUtils.isEmpty(param.getProject()))
|
|
|
+ &&(CollectionUtils.isEmpty(param.getTagList()))) {
|
|
|
throw new ServiceException("请先选择会员!");
|
|
|
}
|
|
|
|