|
|
@@ -95,7 +95,7 @@ public abstract class AbstractWaybillOrderHandler<T extends WaybillOrderProcessP
|
|
|
}
|
|
|
// 过磅校验
|
|
|
if (param instanceof WaybillOrderCmeIntoWeighParam || param instanceof WaybillOrderLeaveMockParam) {
|
|
|
- if (param.getWeighbridgeId() == null || param.getWeighbridgeName() == null) {
|
|
|
+ if (param.getWeighbridgeId() == null || param.getWeighbridgeName() == null || param.getWeighUrl() == null) {
|
|
|
throw new BusinessPlatfromException(ErrorCodeEnum.PARAM_ERROR, "地磅信息不能为空");
|
|
|
}
|
|
|
}
|
|
|
@@ -138,6 +138,7 @@ public abstract class AbstractWaybillOrderHandler<T extends WaybillOrderProcessP
|
|
|
node.setDriverName(waybillOrder.getDriverName());
|
|
|
node.setWeighbridgeId(param.getWeighbridgeId());
|
|
|
node.setWeighbridgeName(param.getWeighbridgeName());
|
|
|
+ node.setWeighUrl(param.getWeighUrl());
|
|
|
node.setLng(param.getLng());
|
|
|
node.setLat(param.getLat());
|
|
|
return node;
|