20240115-ljl-multiPay
ljl 12 months ago
parent 5128964713
commit 8dda8b9b9d

@ -188,4 +188,12 @@ public class Refund1688Const {
); );
return closeActions.contains(refundAction); return closeActions.contains(refundAction);
} }
public static boolean isRejectRefundAction(String refundAction) {
List<String> closeActions = Arrays.asList(
ACTION_SELLER_REJECT_REFUND,
ACTION_SELLER_REJECT_REFUND_PROCOTOL
);
return closeActions.contains(refundAction);
}
} }

@ -512,7 +512,7 @@ public class DsMessageServiceImpl implements DsMessageService {
if (refundAction.equals(Refund1688Const.ACTION_SELLER_AGREE_REFUND_PROCOTOL)) { if (refundAction.equals(Refund1688Const.ACTION_SELLER_AGREE_REFUND_PROCOTOL)) {
return 2; return 2;
} }
if (refundInfo.getGoodsStatus() == 3 && refundAction.equals(Refund1688Const.ACTION_SELLER_REJECT_REFUND)) { if (refundInfo.getGoodsStatus() == 3 && Refund1688Const.isRejectRefundAction(refundAction)) {
return 7; return 7;
} }
if (refundInfo.getGoodsStatus() == 3 && Refund1688Const.isAgreeRefundAction(refundAction)) { if (refundInfo.getGoodsStatus() == 3 && Refund1688Const.isAgreeRefundAction(refundAction)) {
@ -524,7 +524,7 @@ public class DsMessageServiceImpl implements DsMessageService {
if (Refund1688Const.isAgreeRefundAction(refundAction)) { if (Refund1688Const.isAgreeRefundAction(refundAction)) {
return 1; return 1;
} }
if (refundAction.equals(Refund1688Const.ACTION_SELLER_REJECT_REFUND)) { if (Refund1688Const.isRejectRefundAction(refundAction)) {
return 3; return 3;
} }
return 0; return 0;

Loading…
Cancel
Save