From 72e4f93d37392f726af5e0206363e70e9b51435b Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 13 May 2024 16:02:12 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B9=B2=E7=BA=BFbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trunkline/vo/LoadingDetailExportVO.java | 10 + .../controller/IncomingController.java | 2 +- .../mapper/TrunklineCarsLoadScanMapper.xml | 26 +- .../trunkline/service/IInComingService.java | 3 +- .../service/IOpenOrderAsyncService.java | 2 +- .../service/ITrunklineAdvanceService.java | 3 +- .../service/impl/InComingServiceImpl.java | 5 +- .../impl/OpenOrderAsyncServiceImpl.java | 5 +- .../service/impl/OpenOrderServiceImpl.java | 274 +++++++++++------- .../TrunklineAdvanceDetailServiceImpl.java | 49 +++- .../impl/TrunklineAdvanceServiceImpl.java | 4 +- ...TrunklineBillladingPackageServiceImpl.java | 2 +- .../impl/TrunklineCarsLoadServiceImpl.java | 11 +- .../mapper/WarehouseWaybillMapper.xml | 93 +++--- 14 files changed, 289 insertions(+), 200 deletions(-) diff --git a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/vo/LoadingDetailExportVO.java b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/vo/LoadingDetailExportVO.java index 87512aacf..15a0ebc82 100644 --- a/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/vo/LoadingDetailExportVO.java +++ b/blade-service-api/logpm-trunkline-api/src/main/java/com/logpm/trunkline/vo/LoadingDetailExportVO.java @@ -1,9 +1,11 @@ package com.logpm.trunkline.vo; import com.alibaba.excel.annotation.ExcelProperty; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; +import java.util.Date; @Data public class LoadingDetailExportVO implements Serializable { @@ -62,4 +64,12 @@ public class LoadingDetailExportVO implements Serializable { @ExcelProperty(value = "是否补录") private String isSupple; + @ExcelProperty(value = "装车时间") + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private Date loadingTime; + + @ExcelProperty(value = "卸车时间") + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private Date unloadTime; + } diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/IncomingController.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/IncomingController.java index 178dd7c72..1691e19e8 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/IncomingController.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/controller/IncomingController.java @@ -90,7 +90,7 @@ public class IncomingController { } - return inComingService.incomingBatchOrder(inComingDTO); + return inComingService.incomingBatchOrder(inComingDTO,null); }catch (CustomerException e){ log.error(e.message,e); return R.fail(e.code,e.message); diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml index f95b0a17c..abc93ea47 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml @@ -656,15 +656,12 @@