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,6 +30,7 @@ public class ScheduleListPlugin extends AbstractListPlugin {
//退单/作废调通SAP凭证退单/作废状态 退单:chargeback 作废:discard //退单/作废调通SAP凭证退单/作废状态 退单:chargeback 作废:discard
String operateKey = args.getOperateKey(); String operateKey = args.getOperateKey();
OperationResult operationResult = args.getOperationResult(); OperationResult operationResult = args.getOperationResult();
if (null != operationResult) {
if (operationResult.isSuccess()) { if (operationResult.isSuccess()) {
if ("chargeback".equals(operateKey) || "discard".equals(operateKey)) { if ("chargeback".equals(operateKey) || "discard".equals(operateKey)) {
String status = "chargeback".equals(operateKey)? "04" : "05"; String status = "chargeback".equals(operateKey)? "04" : "05";
@ -37,6 +38,7 @@ public class ScheduleListPlugin extends AbstractListPlugin {
} }
} }
} }
}
private void processRows(String status) { private void processRows(String status) {
ListSelectedRowCollection rows = this.getSelectedRows(); ListSelectedRowCollection rows = this.getSelectedRows();
for (ListSelectedRow row : rows) { for (ListSelectedRow row : rows) {