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

Commit 05cd0fb5 authored by 刘喆's avatar 刘喆

Merge branch 'pre' into 'master'

超时支付 不会滚库存

See merge request !48
parents cf4e8d86 dc0f983f
...@@ -61,11 +61,11 @@ public class OrderRefundOvertimeServiceImpl implements IKylinOrderRefundsService ...@@ -61,11 +61,11 @@ public class OrderRefundOvertimeServiceImpl implements IKylinOrderRefundsService
); );
if (res) { if (res) {
// 超时直接退还库存 // 超时直接退还库存
for (KylinOrderTicketEntitiesVo entitiesInfo : entitiesList) { // for (KylinOrderTicketEntitiesVo entitiesInfo : entitiesList) {
// 因固定状态为未支付 所以无需判断 entitiesInfo.getIsPayment() == KylinTableStatusConst.ENTITIES_IS_PAYMENT3 // // 因固定状态为未支付 所以无需判断 entitiesInfo.getIsPayment() == KylinTableStatusConst.ENTITIES_IS_PAYMENT3
dataUtils.changeSurplusGeneral(entitiesInfo.getTicketId(), 1); // dataUtils.changeSurplusGeneral(entitiesInfo.getTicketId(), 1);
dataUtils.changeBuyInfo(orderInfo.getUserId(), entitiesInfo.getEnterIdCode(), orderInfo.getPerformanceId(), entitiesInfo.getTicketId(), -1); // dataUtils.changeBuyInfo(orderInfo.getUserId(), entitiesInfo.getEnterIdCode(), orderInfo.getPerformanceId(), entitiesInfo.getTicketId(), -1);
} // }
return true; return true;
} else { } else {
return false; return false;
......
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