Browse Source

自提包件列表导出增加包件数量字段

master
汤建军 8 months ago
parent
commit
1364cb6ad6
  1. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionBillOrderPackExcel.java
  2. 3
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillStockMapper.xml

3
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionBillOrderPackExcel.java

@ -55,6 +55,9 @@ public class DistributionBillOrderPackExcel {
@ExcelProperty("物料名称")
private String materialName;
@ColumnWidth(20)
@ExcelProperty("数量")
private Integer num;
@ColumnWidth(20)
@ExcelProperty("托盘码")
private String pallet;
@ColumnWidth(20)

3
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistrilbutionBillStockMapper.xml

@ -357,7 +357,8 @@
end as clerkCheck,
CASE
WHEN ldbl.conditions = 30 THEN ldbl.update_time
end as clerkUpdateTime
end as clerkUpdateTime,
1 AS num
FROM logpm_distrilbution_bill_lading ldbl
LEFT JOIN logpm_distrilbution_bill_package ldbp on ldbl.id = ldbp.bill_lading_id
LEFT JOIN logpm_distribution_parcel_list ldpl ON ldbp.parce_list_id = ldpl.id

Loading…
Cancel
Save