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()));