Commit e4c1007c authored by lanbaoming's avatar lanbaoming

2024-06-14提交发布

parent ab63f074
package cn.iocoder.yudao.module.shipment.dto; package cn.iocoder.yudao.module.shipment.dto;
import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
...@@ -10,123 +9,55 @@ import java.util.Date; ...@@ -10,123 +9,55 @@ import java.util.Date;
@Data @Data
public class LoadDto { public class LoadDto {
/*
序号 0
*/
@ExcelProperty("id") @ExcelProperty("id")
private String id; private String id;
/*
订单号 1
*/
@ExcelProperty("orderNo") @ExcelProperty("orderNo")
private String orderNo; private String orderNo;
/*
唛头 2
*/
@ExcelProperty("marks") @ExcelProperty("marks")
private String marks; private String marks;
/*
获取描述 3
*/
@ExcelProperty("prodTitleZh") @ExcelProperty("prodTitleZh")
private String prodTitleZh; private String prodTitleZh;
/*
数量 4
*/
@ExcelProperty("quantity")
private Integer quantity;
/*
品牌 5
*/
@ExcelProperty("brand") @ExcelProperty("brand")
private String brand; private String brand;
/*
备案 6
*/
@ExcelProperty("productRecord") @ExcelProperty("productRecord")
private String productRecord; private String productRecord;
/*
特性 7
*/
@ExcelProperty("prodAttrIds")
private String prodAttrIds;
/*
总件数 8
*/
@ExcelProperty("sumNum") @ExcelProperty("sumNum")
private Integer sumNum; private Integer sumNum;
/*
单位 9
*/
@ExcelProperty("unit") @ExcelProperty("unit")
private String unit; private String unit;
/*
总体积 10
*/
@ExcelProperty("sumVolume") @ExcelProperty("sumVolume")
private BigDecimal sumVolume; private BigDecimal sumVolume;
/*
总重量 11
*/
@ExcelProperty("sumWeight") @ExcelProperty("sumWeight")
private BigDecimal sumWeight; private BigDecimal sumWeight;
/*
包装类型 12
*/
@ExcelProperty("packageType") @ExcelProperty("packageType")
private String packageType; private String packageType;
/*
材质 13
*/
@ExcelProperty("material") @ExcelProperty("material")
private String material; private String material;
/*
用途 14
*/
@ExcelProperty("usageIds")
private String usageIds;
/*
合单 15
*/
@ExcelProperty("merge") @ExcelProperty("merge")
private String merge; private String merge;
/*
关联订单 16
*/
@ExcelProperty("relateOrder") @ExcelProperty("relateOrder")
private String relateOrder; private String relateOrder;
/*
报关方式 17
*/
@ExcelProperty("customsType") @ExcelProperty("customsType")
private String customsType; private String customsType;
/*
货值 18
*/
@ExcelProperty("worth") @ExcelProperty("worth")
private BigDecimal worth; private BigDecimal worth;
@ExcelProperty("quantity")
private Integer quantity;
} }
...@@ -251,6 +251,7 @@ public class ShipmentLoadExcelExportListener { ...@@ -251,6 +251,7 @@ public class ShipmentLoadExcelExportListener {
preloadDto.setPackageType(packagingType); preloadDto.setPackageType(packagingType);
} }
preloadDto.setSumVolume(item.getWarehouseInInfoVO().getVolume()); preloadDto.setSumVolume(item.getWarehouseInInfoVO().getVolume());
preloadDto.setSumWeight(item.getWarehouseInInfoVO().getWeight()); preloadDto.setSumWeight(item.getWarehouseInInfoVO().getWeight());
if(orderInfo.getCustomsType()!=null){ if(orderInfo.getCustomsType()!=null){
preloadDto.setCustomsType(DictFrameworkUtils.getDictDataFromCache("customs_type",orderInfo.getCustomsType()+"").getLabel()); preloadDto.setCustomsType(DictFrameworkUtils.getDictDataFromCache("customs_type",orderInfo.getCustomsType()+"").getLabel());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment