diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java b/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java index 862b282..1bab9bc 100644 --- a/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java +++ b/hyp-admin/src/main/java/com/hyp/web/controller/manager/ApplyInfoListManager.java @@ -75,6 +75,7 @@ public class ApplyInfoListManager { List list = applyInfoListService.lambdaQuery() .eq(RewApplyInfoList::getApplyType, applyType) .eq(RewApplyInfoList::getCreateId, loginUser.getUserId()) + .ne(RewApplyInfoList::getApplyStatus,ApplyStatusEnum.END.getType()) .list(); if(CollUtil.isNotEmpty(list)){ throw new ServiceException("该用户已申请,不能重复申请!");