fix:参数类型查询权限

dev
wangxy 12 months ago
parent e55718fc35
commit cf02e3fae6

@ -75,6 +75,7 @@ public class ApplyInfoListManager {
List<RewApplyInfoList> list = applyInfoListService.lambdaQuery() List<RewApplyInfoList> list = applyInfoListService.lambdaQuery()
.eq(RewApplyInfoList::getApplyType, applyType) .eq(RewApplyInfoList::getApplyType, applyType)
.eq(RewApplyInfoList::getCreateId, loginUser.getUserId()) .eq(RewApplyInfoList::getCreateId, loginUser.getUserId())
.ne(RewApplyInfoList::getApplyStatus,ApplyStatusEnum.END.getType())
.list(); .list();
if(CollUtil.isNotEmpty(list)){ if(CollUtil.isNotEmpty(list)){
throw new ServiceException("该用户已申请,不能重复申请!"); throw new ServiceException("该用户已申请,不能重复申请!");

Loading…
Cancel
Save