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

Commit d2b19b6a authored by 胡佳晨's avatar 胡佳晨

修改 退款详情 判断 是否可以申请退款

parent 9f354343
......@@ -132,7 +132,7 @@ public class GoblinOrderAppServiceImpl implements IGoblinOrderAppService {
if (orderRefundIds.size() > 0) {
GoblinBackOrderVo backOrderVo = redisUtils.getBackOrderVo(orderRefundIds.get(orderRefundIds.size() - 1));
vo.setRefundStatus(backOrderVo.getStatus());
if (vo.getCanRefund() == 1 &&
if (vo.getCanRefund() == 1 && backOrderVo.getRefuseSize() < 2 &&
(backOrderVo.getStatus() == 2 || backOrderVo.getStatus() == 3 || backOrderVo.getStatus() == 5) &&
(vo.getStoreOrderVo().getStatus() == GoblinStatusConst.Status.ORDER_STATUS_2.getValue() || vo.getStoreOrderVo().getStatus() == GoblinStatusConst.Status.ORDER_STATUS_4.getValue())) {
......
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