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