gc-shop/src/main/java/com/xzx/gc/shop/service/OrderService.java | ●●●●● patch | view | raw | blame | history |
gc-shop/src/main/java/com/xzx/gc/shop/service/OrderService.java
@@ -352,7 +352,12 @@ throw new RestException(-3, "暂不能确认收货"); } scoreOrderMapper.updateOrderStatus(id, ScoreOrder.STATUS_DOING, userId); if (ScoreOrder.ISFINISH_YES.equals(order.getIsFinish())) { scoreOrderMapper.updateOrderStatus(id, ScoreOrder.STATUS_DONE, userId); } else { scoreOrderMapper.updateOrderStatus(id, ScoreOrder.STATUS_DOING, userId); } } public void cancelOrder(Long id, String userId) {