|
|
@@ -40,14 +40,14 @@ public class WeighbridgePushService {
|
|
|
* @param record 已保存的地磅记录
|
|
|
*/
|
|
|
public void pushWeighbridgeRecord(WeighbridgeRecord record) {
|
|
|
- if (!Boolean.TRUE.equals(weighbridgePushProperties.getEnabled())) {
|
|
|
- log.debug("外部系统地磅数据推送未启用,跳过推送");
|
|
|
- return;
|
|
|
- }
|
|
|
- if (Objects.isNull(record) || Objects.isNull(record.getId())) {
|
|
|
- log.warn("外部系统地磅数据推送参数为空,跳过推送");
|
|
|
- return;
|
|
|
- }
|
|
|
+// if (!Boolean.TRUE.equals(weighbridgePushProperties.getEnabled())) {
|
|
|
+// log.debug("外部系统地磅数据推送未启用,跳过推送");
|
|
|
+// return;
|
|
|
+// }
|
|
|
+// if (Objects.isNull(record) || Objects.isNull(record.getId())) {
|
|
|
+// log.warn("外部系统地磅数据推送参数为空,跳过推送");
|
|
|
+// return;
|
|
|
+// }
|
|
|
BaseResult response = null;
|
|
|
try {
|
|
|
WaybillOrderProcessParam request = buildPushRequest(record);
|