diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/FinanceWaybillExportVO.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/FinanceWaybillExportVO.java index 76dabf304..19bb689eb 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/FinanceWaybillExportVO.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/vo/FinanceWaybillExportVO.java @@ -2,6 +2,7 @@ package com.logpm.warehouse.vo; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.io.Serializable; @@ -190,6 +191,22 @@ public class FinanceWaybillExportVO implements Serializable { private BigDecimal thirdOperationFee; @ExcelProperty(value = "回扣") private BigDecimal rebate; + @ExcelProperty(value = "收款状态") + private String payStatus; + @ExcelProperty(value = "结算状态") + private String settlementStatus; + @ExcelProperty(value = "签收数量") + private Integer signNum; + @ExcelProperty(value = "签收时间") + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private Date signTime; + @ExcelProperty(value = "配送时间") + @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + private Date deliveryTime; + @ExcelProperty(value = "签收人") + private String signUserName; + @ExcelProperty(value = "配送司机") + private String deliveryDriverName; @ExcelProperty(value = "品类数量") private String goodsTypeNum; @ExcelProperty(value = "品类开单运费") diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java index 6cf5164d3..768a94ea9 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java @@ -9022,6 +9022,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl loadingZeroFlag = new AtomicReference<>(0); + List> ls = new ArrayList<>(); //查询有哪些在当前仓做计划的订单 List carsOrderEntityList = trunklineCarsOrderService.findListByLoadIdAndNodeId(loadId, warehouseId); //把carsOrderEntityList通过type分组成两个新的集合 @@ -9029,6 +9030,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl zeroOrderList = carsOrderEntityList.stream().filter(e -> e.getType().equals(2)).collect(Collectors.toList()); //零担批量装车 zeroOrderList.stream().forEach(e -> { + Map map = new HashMap<>(); //零担订单 Integer realNum = e.getRealNum(); String orderCode = e.getOrderCode(); @@ -9045,6 +9047,13 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl map = new HashMap<>(); + map.put("waybillNo", waybillNo); + map.put("orderCode", orderCode); + map.put("planNum", planNum); + map.put("realNum", realNum); + map.put("handQuantity", size); + ls.add(map); } }); @@ -9192,9 +9209,9 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl and lww.freeze_time <= #{param.freezeTimeEndDate} + + and lww.pay_status = #{param.payStatus} + + + and lww.settlement_status = #{param.settlementStatus} + GROUP BY lww.id order by lww.create_time desc