|
|
@@ -149,15 +149,15 @@ public class WeighbridgePushService {
|
|
|
log.info("外部系统抬杆校验开始,入参: {}", JSON.toJSONString(request));
|
|
|
WaybillOrderIsPassParam param = new WaybillOrderIsPassParam();
|
|
|
param.setTruckNo(request.getTruckNo());
|
|
|
- param.setWeighbridgeCode(StringUtils.isNotBlank(request.getWeighbridgeCode()) ? Long.valueOf(request.getWeighbridgeCode()) : null);
|
|
|
+ param.setWeighbridgeId(StringUtils.isNotBlank(request.getWeighbridgeCode()) ? Long.valueOf(request.getWeighbridgeCode()) : null);
|
|
|
BaseResult<Boolean> response = canLiftGateClient.queryCanLiftGate(param);
|
|
|
- log.info("外部系统抬杆校验完成,入参: {}, 响应: {}", JSON.toJSONString(request), JSON.toJSONString(response));
|
|
|
+ log.info("外部系统抬杆校验完成,入参: {}, 响应: {}", JSON.toJSONString(param), JSON.toJSONString(response));
|
|
|
if (Objects.isNull(response) || !response.isSuccess()) {
|
|
|
- log.warn("外部系统抬杆校验失败,入参: {}, 响应: {}", JSON.toJSONString(request), JSON.toJSONString(response));
|
|
|
+ log.warn("外部系统抬杆校验失败,入参: {}, 响应: {}", JSON.toJSONString(param), JSON.toJSONString(response));
|
|
|
return false;
|
|
|
}
|
|
|
boolean canLiftGate = response.getData();
|
|
|
- log.info("外部系统抬杆校验完成,入参: {}, 是否允许抬杆: {}", JSON.toJSONString(request), canLiftGate);
|
|
|
+ log.info("外部系统抬杆校验完成,入参: {}, 是否允许抬杆: {}", JSON.toJSONString(param), canLiftGate);
|
|
|
return canLiftGate;
|
|
|
} catch (Exception e) {
|
|
|
log.error("外部系统抬杆校验异常,入参: {}", JSON.toJSONString(request), e);
|