Commit 1bcf5646 authored by 332784038@qq.com's avatar 332784038@qq.com

海运订单更新了空运到仓动态的bug修复

parent f8a5c2fa
......@@ -3090,7 +3090,8 @@ public class BoxServiceImpl extends AbstractService<BoxMapper, BoxDO> implements
if (boxDO.getTransportType().equals(TransportTypeEnum.AIR.getType())) {
checkOrderTagNum(shipmentId, 0);
//空运,修改订单状态
updateOrderStatusByShipmentId(shipmentId, OrderStatusEnum.SHIPMENT.getValue(), null, BoxAirStatusEnum.TALLY_COMPLETE.getStatus(), null, null);
updateOrderStatusByShipmentIdAndTransportType(shipmentId, OrderStatusEnum.SHIPMENT.getValue(), null,
BoxAirStatusEnum.TALLY_COMPLETE.getStatus(), null, null, Integer.parseInt(boxDO.getTransportType()));
}
}
......
......@@ -85,8 +85,8 @@ public class BoxTrailerServiceImpl extends AbstractService<BoxTrailerMapper, Box
//如果是已经派车,则不用再次更新订单状态
if(tlStatus != TlStatueEnum.HAS_SEND_CAR.getTlStatus()) {
boxService.updateOrderStatusByShipmentId(shipmentId, null, null,
boxDO.getShipmentStatus(), null, null);
boxService.updateOrderStatusByShipmentIdAndTransportType(shipmentId, null, null,
boxDO.getShipmentStatus(), null, null, Integer.parseInt(boxDO.getTransportType()));
}
}
boxService.updateById(boxDO);
......
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