1.优化付款排程单列表插件

--s
This commit is contained in:
weiyunlong 2025-03-20 09:59:39 +08:00
parent 7667e54e70
commit 64789a1aa0
1 changed files with 6 additions and 4 deletions

View File

@ -30,10 +30,12 @@ public class ScheduleListPlugin extends AbstractListPlugin {
//退单/作废调通SAP凭证退单/作废状态 退单:chargeback 作废:discard
String operateKey = args.getOperateKey();
OperationResult operationResult = args.getOperationResult();
if (operationResult.isSuccess()) {
if ("chargeback".equals(operateKey) || "discard".equals(operateKey)) {
String status = "chargeback".equals(operateKey)? "04" : "05";
processRows(status);
if (null != operationResult) {
if (operationResult.isSuccess()) {
if ("chargeback".equals(operateKey) || "discard".equals(operateKey)) {
String status = "chargeback".equals(operateKey)? "04" : "05";
processRows(status);
}
}
}
}