|
|
@ -126,10 +126,11 @@ public class BsOrderGoodsController { |
|
|
|
if (goodsOrder.getStatus() == OrderGoodsStatusEnum.status1.getCode()) { |
|
|
|
if (goodsOrder.getStatus() == OrderGoodsStatusEnum.status1.getCode()) { |
|
|
|
goodsOrder.setStatus(OrderGoodsStatusEnum.status2.getCode()); |
|
|
|
goodsOrder.setStatus(OrderGoodsStatusEnum.status2.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 删除缓存
|
|
|
|
// 删除缓存
|
|
|
|
orderService.cacheDelete(goodsOrder.getOrderNo()); |
|
|
|
orderService.cacheDelete(goodsOrder.getOrderNo()); |
|
|
|
bsOrderGoodsService.cacheDelete(goodsOrder.getId()); |
|
|
|
bsOrderGoodsService.cacheDelete(goodsOrder.getId()); |
|
|
|
|
|
|
|
bsOrderGoodsService.getLogisticsMsg(goodsOrder.getId()); |
|
|
|
bsOrderGoodsService.update(goodsOrder); |
|
|
|
bsOrderGoodsService.update(goodsOrder); |
|
|
|
|
|
|
|
|
|
|
|
return ResponseMsgUtil.success("更新成功!"); |
|
|
|
return ResponseMsgUtil.success("更新成功!"); |
|
|
|