forked from sfms3.0/sfms3.0
11 changed files with 283 additions and 129 deletions
@ -0,0 +1,95 @@ |
|||||
|
package com.win.module.wms.controller.location.vo; |
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.Builder; |
||||
|
import lombok.Data; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
@Data |
||||
|
@Builder |
||||
|
@ToString(callSuper = true) |
||||
|
public class LocationImportErrorVO { |
||||
|
|
||||
|
@ExcelProperty("代码") |
||||
|
private String code; |
||||
|
|
||||
|
@ExcelProperty("名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ExcelProperty("描述") |
||||
|
private String description; |
||||
|
|
||||
|
@ExcelProperty(value = "仓库代码", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.WAREHOUSE_TYPE) |
||||
|
private String warehouseCode; |
||||
|
|
||||
|
@ExcelProperty(value = "区域代码", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.AREA_TYPE) |
||||
|
private String areaCode; |
||||
|
|
||||
|
@ExcelProperty("库位组代码") |
||||
|
private String locationGroupCode; |
||||
|
|
||||
|
@ExcelProperty(value = "ERP库位代码", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.ERP_LOCATION) |
||||
|
private String erpLocationCode; |
||||
|
|
||||
|
@ExcelProperty(value = "类型", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.LOCATION_TYPE) |
||||
|
private String type; |
||||
|
|
||||
|
@ExcelProperty("巷道") |
||||
|
private String aisle; |
||||
|
|
||||
|
@ExcelProperty("货架") |
||||
|
private String shelf; |
||||
|
|
||||
|
@ExcelProperty("行") |
||||
|
private String locationRow; |
||||
|
|
||||
|
@ExcelProperty("列") |
||||
|
private String locationColum; |
||||
|
|
||||
|
@ExcelProperty("拣料优先级") |
||||
|
private Integer pickPriority; |
||||
|
|
||||
|
@ExcelProperty("最大承重") |
||||
|
private String maxWeight; |
||||
|
|
||||
|
@ExcelProperty("最大面积") |
||||
|
private String maxArea; |
||||
|
|
||||
|
@ExcelProperty("最大体积") |
||||
|
private String maxVolume; |
||||
|
|
||||
|
@ExcelProperty("用户组代码") |
||||
|
private String userGroupCode; |
||||
|
|
||||
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
||||
|
private String available; |
||||
|
|
||||
|
@ExcelProperty(value = "生效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime activeTime; |
||||
|
|
||||
|
@ExcelProperty(value = "失效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime expireTime; |
||||
|
|
||||
|
@ExcelProperty(value = "备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
@ -0,0 +1,55 @@ |
|||||
|
package com.win.module.wms.controller.workshop.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import com.win.module.wms.enums.DictTypeConstants; |
||||
|
import lombok.Builder; |
||||
|
import lombok.Data; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
@Data |
||||
|
@Builder |
||||
|
@ToString(callSuper = true) |
||||
|
public class WorkshopImportErrorVO { |
||||
|
|
||||
|
@ExcelProperty("代码") |
||||
|
private String code; |
||||
|
|
||||
|
@ExcelProperty("名称") |
||||
|
private String name; |
||||
|
|
||||
|
@ExcelProperty("描述") |
||||
|
private String description; |
||||
|
|
||||
|
@ExcelProperty(value = "类型", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.WORKSHOP_TYPE) |
||||
|
private String type; |
||||
|
|
||||
|
|
||||
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
||||
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
||||
|
private String available; |
||||
|
|
||||
|
@ExcelProperty(value = "生效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime activeTime; |
||||
|
|
||||
|
@ExcelProperty(value = "失效时间") |
||||
|
@ColumnWidth(value = 16) |
||||
|
private LocalDateTime expireTime; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty(value = "导入状态", index = 0) |
||||
|
private String importStatus; |
||||
|
|
||||
|
@ExcelProperty(value = "导入说明", index = 1) |
||||
|
private String importRemark; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue