From 715a3a20ce270770c1bb3dcce9bb782ee7e97988 Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 19 Aug 2026 16:32:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=9A=84=E6=97=B6=E5=80=99=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/EnterpriseInformationServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/EnterpriseInformationServiceImpl.java b/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/EnterpriseInformationServiceImpl.java index 1104c3a9..cb1808d0 100644 --- a/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/EnterpriseInformationServiceImpl.java +++ b/zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/EnterpriseInformationServiceImpl.java @@ -407,7 +407,8 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS // 4. 仅在新增成功时生成二维码 if (!isUpdate && result > 0) { - generateQrCodeForNewEnterprise(enterpriseInformation); +// generateQrCodeForNewEnterprise(enterpriseInformation); + generateQrCode("zfjd", enterpriseInformation.getEnterpriseNumber(), "enterprise", "企业登记"); } return result; @@ -462,6 +463,7 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS String qrContent = JSONObject.toJSONString(jsonMap); try { + // 生成二维码文件 String logoPath = ruoYiConfig.getFile().getQrCodeUrl(); String uploadPath = ruoYiConfig.getFile().getUploadPath(); @@ -476,6 +478,7 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS qrCodeHistory.setId(uuid); qrCodeHistory.setGenerateTime(DateUtils.getNowDate()); qrCodeHistory.setQrCodeUrl(qrCodeUrl); + qrCodeHistory.setStatus(0L); qrCodeHistory.setEnterpriseNumber(enterpriseInformation.getEnterpriseNumber()); qrCodeHistory.setReasonsChange("企业登记"); qrCodeGenerateHistoryService.insertByBo(qrCodeHistory);