勘料时出场
parent
fc58a14b66
commit
f8be944e67
|
|
@ -102,7 +102,7 @@ public class OrderCarInOutService extends ServiceImpl<OrderCarInOutMapper, Order
|
|||
if (roughWeight__ == null) {
|
||||
BizTruckEntity bizTruckEntity = bizTruckService.getById(truckId);
|
||||
Integer truckTareWeight = bizTruckEntity.getTareWeight();
|
||||
Assert.notNull(truckTareWeight, () -> Exceptions.exception("车辆未配置皮重"));
|
||||
Assert.notNull(truckTareWeight, () -> Exceptions.exception("{} 车辆暂无皮重", bizTruckEntity.getLicensePlate()));
|
||||
orderCarInOutEntity.setRoughWeight(truckTareWeight);
|
||||
roughWeight__ = truckTareWeight;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -565,6 +565,8 @@ public class OrderInfoService extends ServiceImpl<OrderInfoMapper, OrderInfoEnti
|
|||
.setCheckStatus(CheckStatus.YiKanLiao)
|
||||
.setCheckerId(SecurityUtil.currentUserId())
|
||||
);
|
||||
|
||||
truckLeaving(new TruckLeavingOrderParam().setOrderId(orderId), 0);
|
||||
}
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue