From f15cc2a3c243c75eae36798fedc3dd8b4bdd480b Mon Sep 17 00:00:00 2001 From: yefei Date: Mon, 8 May 2023 10:16:23 +0800 Subject: [PATCH] =?UTF-8?q?ariesy=20=E4=BF=AE=E5=A4=8D=E5=85=8D=E7=A8=8E?= =?UTF-8?q?=E7=A8=8E=E9=A2=9D=E4=B8=BA***=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/dxhy/erp/controller/SDNYMainProcessController.java | 2 +- .../main/java/com/dxhy/erp/service/impl/GatherServiceImpl.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java b/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java index cb1841b0..ef1feb75 100644 --- a/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java +++ b/dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java @@ -207,7 +207,7 @@ public class SDNYMainProcessController extends AbstractController { if (!checkInvoiceResult.containsKey("code")) { - if (checkInvoiceResult.containsKey("cyjg")) { + if (checkInvoiceResult.containsKey("cyjg") && !"0001".equals(checkInvoiceResult.getString("cyjg"))) { R data = new R(); data = errorInfo(checkInvoiceResult, data); return ResponseEntity.ok(JSONObject.toJSONString(data)); diff --git a/dxhy-erp/src/main/java/com/dxhy/erp/service/impl/GatherServiceImpl.java b/dxhy-erp/src/main/java/com/dxhy/erp/service/impl/GatherServiceImpl.java index 705fc9db..47241529 100644 --- a/dxhy-erp/src/main/java/com/dxhy/erp/service/impl/GatherServiceImpl.java +++ b/dxhy-erp/src/main/java/com/dxhy/erp/service/impl/GatherServiceImpl.java @@ -810,6 +810,7 @@ public class GatherServiceImpl extends MpBaseServiceImpl