|
@@ -242,7 +242,7 @@ public class TmstruckLeaveFactoryResultServiceImpl implements ITmstruckLeaveFact
|
|
|
//判断当前订单是否可出厂
|
|
|
Integer canWork = tmstruckLeaveFactoryResultMapper.getCanWorkStatus(DataChange.dataToBigDecimal(mesMap.get("orderId")));
|
|
|
if (allNetWeight + nowNetWeight > saleWeight && canWork == null) {
|
|
|
- throw new Exception("1");
|
|
|
+ throw new Exception("该销售订单吨位已超额,不允许出厂,请司机走流程卸货!");
|
|
|
}
|
|
|
}
|
|
|
}
|