From cf02e3fae6281a30373c7ef7d84fa9b336e3ffae Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 17 Apr 2024 16:00:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hyp/web/controller/manager/ApplyInfoListManager.java | 1 + 1 file changed, 1 insertion(+) 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("该用户已申请,不能重复申请!");