From a4b6374aae7d3468c59899562e73edecedbcfc5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=B4=B5=E5=BC=BA?= Date: Thu, 9 Oct 2025 13:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=98=E6=AC=BE=E6=8E=92=E7=A8=8B=E6=94=B9?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fi/fi/plugin/form/ScheduleListPlugin.java | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/main/java/shjh/jhzj7/fi/fi/plugin/form/ScheduleListPlugin.java b/main/java/shjh/jhzj7/fi/fi/plugin/form/ScheduleListPlugin.java index 167db8d..7747432 100644 --- a/main/java/shjh/jhzj7/fi/fi/plugin/form/ScheduleListPlugin.java +++ b/main/java/shjh/jhzj7/fi/fi/plugin/form/ScheduleListPlugin.java @@ -78,19 +78,20 @@ public class ScheduleListPlugin extends AbstractListPlugin { if (!payapply.getBoolean("shjh_sourceadjustment")) { //来源SAP String sourcesystem = bill.getString("shjh_sourcesystem"); - if ("A".equals(sourcesystem)) { - JSONArray IT_INPUT = createInputJSONArray(bill, status); - JSONObject jsonObjects = unlocked_status(IT_INPUT, bill.getString("billno")); - String code = jsonObjects.getString("code"); - if (!"0".equals(code)) { - log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "失败:" + jsonObjects.getString("msg")); - } else { - log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "成功"); - //反审核 - //closeOrUnauditApply(payapply,"unaudit"); - } - return; - }else if ("B".equals(sourcesystem)) { +// if ("A".equals(sourcesystem)) { +// JSONArray IT_INPUT = createInputJSONArray(bill, status); +// JSONObject jsonObjects = unlocked_status(IT_INPUT, bill.getString("billno")); +// String code = jsonObjects.getString("code"); +// if (!"0".equals(code)) { +// log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "失败:" + jsonObjects.getString("msg")); +// } else { +// log.info("付款排程单:" + bill.getString("billno") + "状态(SAP)" + action + "成功"); +// //反审核 +// //closeOrUnauditApply(payapply,"unaudit"); +// } +// return; +// }else + if ("B".equals(sourcesystem)) { //若来源为费控,调用费控状态修改接口 //先付后记(其他付款、劳务报销单、SAP会员退卡单)回写付款状态 JSONObject jsonObjects = backpayment_status(createInputJSONArrays(bill),bill.getString("billno"));