From 0957ee72be7bf3ead1187d57495619cf38cce291 Mon Sep 17 00:00:00 2001 From: zengweihai Date: Sat, 30 Nov 2024 18:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E6=8E=A5=E5=8F=A3=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java index 71cd138..c5e2c28 100644 --- a/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/ReconPayreqFormPlugin.java @@ -749,6 +749,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF JSONObject jsonObject = JSONObject.parseObject(linkPostjson); token = jsonObject.getString("id"); logger.info("获取OaToken接口返回id"+token); + }else { + this.getView().showTipNotification("OaToken接口数据异常,请联系系统管理员!"); } return token; } catch (Exception e) { @@ -779,6 +781,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF if (StringUtils.isNotEmpty(linkPostjson)) { JSONObject jsonObject = JSONObject.parseObject(linkPostjson); return jsonObject; + }else { + this.getView().showTipNotification("parseOCRData接口数据异常,请联系系统管理员!"); } } catch (Exception e) { logger.info(String.format("获取parseOCRData接口异常:%s", e.getMessage())); @@ -808,6 +812,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF if (StringUtils.isNotEmpty(linkPostjson)) { JSONObject jsonObject = JSONObject.parseObject(linkPostjson); return jsonObject; + }else { + this.getView().showTipNotification("saveOutInvoice接口数据异常,请联系系统管理员!"); } }catch (Exception e){ logger.info(String.format("saveOutInvoice接口异常:%s", e.getMessage())); @@ -831,6 +837,8 @@ public class ReconPayreqFormPlugin extends AbstractFormPlugin implements BeforeF if (StringUtils.isNotEmpty(linkPostjson)) { JSONObject jsonObject = JSONObject.parseObject(linkPostjson); return jsonObject; + }else { + this.getView().showTipNotification("delInvoice接口数据异常,请联系系统管理员!"); } }catch (Exception e){ logger.info(String.format("delInvoice接口异常:%s", e.getMessage()));