|
@@ -810,9 +810,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
public void affirmCargo(Integer orderID) throws Exception {
|
|
|
CmOrder order = orderMapper.findOrder(orderID);
|
|
|
if (order == null) throw new Exception("订单不存在");
|
|
|
- if (order.getStatus() == 13) {
|
|
|
- orderMapper.updateLogisticsBatch(orderID);
|
|
|
- } else if (order.getStatus() == 33) {
|
|
|
+ if (order.getStatus() == 33) {
|
|
|
order.setStatus(4);
|
|
|
orderMapper.update(order);
|
|
|
orderMapper.updateLogisticsBatch(orderID);
|