Commit b34140c5 by 吕明尚

后台退款增加删除订单redis

parent 652aef3c
...@@ -428,6 +428,8 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme ...@@ -428,6 +428,8 @@ public class SOrderServiceImpl extends ServiceImpl<SOrderMapper, SOrder> impleme
deviceOpService.openOrCloseDevice(sOrder.getRoomId(), sOrder.getConsumerPhone(), deviceOpService.openOrCloseDevice(sOrder.getRoomId(), sOrder.getConsumerPhone(),
OpTypeEnum.CUT_ELECTRIC.getCode(), true, 180); OpTypeEnum.CUT_ELECTRIC.getCode(), true, 180);
} }
redisUtil.delete(ReceiptRdeisEnum.ORDER_NO.getValue() + sOrder.getOrderNo());
redisUtil.delete(ReceiptRdeisEnum.ORDER_NO_KEY.getValue() + sOrder.getOrderNo());
// 生成退款人工退款记录 // 生成退款人工退款记录
return orderRefundArtificialService.insertOrderRefundArtificial(artificial); return orderRefundArtificialService.insertOrderRefundArtificial(artificial);
} }
......
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