记得上下班打卡 | git大法好,push需谨慎

Commit 54e51b76 authored by jiangxiulong's avatar jiangxiulong

同进度下只能选择一种操作

parent 1a958d1d
...@@ -10,7 +10,7 @@ package com.liquidnet.service.kylin.constant; ...@@ -10,7 +10,7 @@ package com.liquidnet.service.kylin.constant;
*/ */
public class KylinTableStatusConst { public class KylinTableStatusConst {
// 批量退款 1处理完成 11 处理中 // 批量退款 1处理完成 11 处理中
public static final Integer STATUS_APPLY = 1; // 1申请退款处理中 public static final Integer STATUS_APPLY = 1; // 1申请退款
public static final Integer STATUS_APPLY11 = 11; public static final Integer STATUS_APPLY11 = 11;
public static final Integer STATUS_CANCEL = 2; // 2取消退款 public static final Integer STATUS_CANCEL = 2; // 2取消退款
public static final Integer STATUS_CANCEL22 = 22; public static final Integer STATUS_CANCEL22 = 22;
......
...@@ -95,12 +95,12 @@ public class KylinRefundExecuteServiceImpl { ...@@ -95,12 +95,12 @@ public class KylinRefundExecuteServiceImpl {
); );
} }
// @Async @Async
public void refundBatchStatus(RefundBatchApplyParam refundBatchApplyParam, String type) { public void refundBatchStatus(RefundBatchApplyParam refundBatchApplyParam, String type) {
// TODO: 2021/6/20 sleepTest // TODO: 2021/6/20 sleepTest
/*try { try {
Thread.sleep(5000); Thread.sleep(5000);
} catch (Exception e) {}*/ } catch (Exception e) {}
String refundBatchId = refundBatchApplyParam.getRefundBatchId(); String refundBatchId = refundBatchApplyParam.getRefundBatchId();
Integer status = refundBatchApplyParam.getRefundStatus(); Integer status = refundBatchApplyParam.getRefundStatus();
......
...@@ -149,11 +149,11 @@ public class KylinRefundPerformancesAdminServiceImpl { ...@@ -149,11 +149,11 @@ public class KylinRefundPerformancesAdminServiceImpl {
case "execute": case "execute":
batchUpdateStatus = batchStatus; batchUpdateStatus = batchStatus;
if (batchStatus == KylinTableStatusConst.STATUS_FINANCE_ADOPT66) { // 执行退款 if (batchStatus == KylinTableStatusConst.STATUS_FINANCE_ADOPT66) { // 执行退款
paymentTypeAlipayArray = new Integer[]{KylinTableStatusConst.STATUS_OPERATE_ADOPT, KylinTableStatusConst.STATUS_FINANCE_REJECT}; paymentTypeAlipayArray = new Integer[]{KylinTableStatusConst.STATUS_OPERATE_ADOPT};
orderUpdateStatus = KylinTableStatusConst.ORDER_REFUND_STATUS_UNFILLED; orderUpdateStatus = KylinTableStatusConst.ORDER_REFUND_STATUS_UNFILLED;
} }
if (batchStatus == KylinTableStatusConst.STATUS_FINANCE_REJECT55) { // 拒绝退款 if (batchStatus == KylinTableStatusConst.STATUS_FINANCE_REJECT55) { // 拒绝退款
paymentTypeAlipayArray = new Integer[]{KylinTableStatusConst.STATUS_OPERATE_ADOPT, KylinTableStatusConst.STATUS_FINANCE_REJECT}; paymentTypeAlipayArray = new Integer[]{KylinTableStatusConst.STATUS_OPERATE_ADOPT};
orderUpdateStatus = KylinTableStatusConst.ORDER_REFUND_STATUS_REFUSE; orderUpdateStatus = KylinTableStatusConst.ORDER_REFUND_STATUS_REFUSE;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment