付款排程改动
This commit is contained in:
parent
d5d5864386
commit
a4b6374aae
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue