付款排程改动

This commit is contained in:
李贵强 2025-10-09 13:40:12 +08:00
parent d5d5864386
commit a4b6374aae
1 changed files with 14 additions and 13 deletions

View File

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