From bb179b27f8a8621aa8cc11c15abce515894a0af5 Mon Sep 17 00:00:00 2001 From: liaoxuwei <5789413@qq.com> Date: Wed, 31 Jul 2024 11:44:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E7=A4=BE=E4=BC=9A=E4=BF=A1?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81=E5=94=AF=E4=B8=80=E6=80=A7=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xhx/module/record/service/impl/ApplyLogServiceImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java b/one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java index 5c2b34d..6521383 100644 --- a/one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java +++ b/one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java @@ -200,6 +200,10 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap if(entity.getCatalogId()==null){ throw new AppException("鐩綍ID涓嶈兘涓虹┖"); } + ApplyLogEntity temp = this.selectOne(new ApplyLogQuery().socialCode(entity.getSocialCode()).recordStatus(YesNoEnum.NO.getValue())); + if(temp!=null){ + throw new AppException("缁熶竴绀句細淇$敤浠g爜閲嶅"); + } super.validData(entity, context); } -- 2.24.3