diff --git a/certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java b/certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java index ed8d5d431a18768b2b531c3fd6a88fd7a017d173..85aa4d192dd57f2fb1c5c1634a3bb19559fab4cf 100644 --- a/certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java +++ b/certificate-manager/src/main/java/com/mortals/xhx/module/business/service/impl/BusinessLicenseServiceImpl.java @@ -71,7 +71,7 @@ public class BusinessLicenseServiceImpl extends AbstractCRUDServiceImpl<Business if(StringUtils.isEmpty(businessLicenseEntity.getBusinessLicense())){ throw new AppException("鎵х収缂栫爜businessLicense涓嶈兘涓虹┖"); } - List<ApplyLogEntity> applyLogEntities = applyLogService.find(new ApplyLogQuery().certificateCode(businessLicenseEntity.getBusinessLicense())); + List<ApplyLogEntity> applyLogEntities = applyLogService.find(new ApplyLogQuery().certificateCode(businessLicenseEntity.getBusinessLicense()).recordStatus(0)); if(CollectionUtils.isNotEmpty(applyLogEntities)){ throw new AppException("鎵х収缂栫爜"+businessLicenseEntity.getBusinessLicense()+"宸茬敓鎴愯繃鏂囦欢锛岃鍕块噸澶嶇敓鎴�"); } diff --git a/certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java b/certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java index 1b189f392314d4b6400965083e6982dd44c4b729..ee33531fa4c0df63d247d3a632b46b085651941d 100644 --- a/certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java +++ b/certificate-manager/src/main/java/com/mortals/xhx/module/mid/web/DataInterfaceController.java @@ -50,7 +50,7 @@ public class DataInterfaceController extends BaseJsonBodyController { byte code = 1; String busiDesc = "璋冪敤寰腑鍙版帴鍙g敓鎴愯瘉鐓�"; try { - List<ApplyLogEntity> applyLogEntities = applyLogService.find(new ApplyLogQuery().certificateCode(midCertificatePdu.getCertificateNumber())); + List<ApplyLogEntity> applyLogEntities = applyLogService.find(new ApplyLogQuery().certificateCode(midCertificatePdu.getCertificateNumber()).recordStatus(0)); if(CollectionUtils.isNotEmpty(applyLogEntities)){ throw new AppException("绯荤粺宸插瓨鍦ㄧ紪鍙凤細"+midCertificatePdu.getCertificateNumber()+"鐨勮瘉鐓т俊鎭�"); }