forked from sfms3.0/sfms3.0
16 changed files with 361 additions and 185 deletions
@ -0,0 +1,63 @@ |
|||
package com.win.module.wms.controller.areabasic.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 AreabasicImportErrorVO { |
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("仓库代码") |
|||
private String warehouseCode; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.WAREHOUSE_TYPE) |
|||
private String type; |
|||
|
|||
@ExcelProperty(value = "是否是功能区", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String isFunctional; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|||
private String available; |
|||
|
|||
@ExcelProperty("生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty("失效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime expireTime; |
|||
|
|||
@ExcelProperty("备注") |
|||
private String remark; |
|||
|
|||
@ExcelProperty(value = "导入状态", index = 0) |
|||
private String importStatus; |
|||
|
|||
@ExcelProperty(value = "导入说明", index = 1) |
|||
private String importRemark; |
|||
|
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,79 @@ |
|||
package com.win.module.wms.controller.dock.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 DockImportErrorVO { |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("城市") |
|||
private String city; |
|||
|
|||
@ExcelProperty("地址") |
|||
private String address; |
|||
|
|||
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|||
@DictFormat("dock_type") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|||
private String type; |
|||
|
|||
@ExcelProperty("仓库代码") |
|||
private String warehouseCode; |
|||
|
|||
@ExcelProperty("默认库位代码") |
|||
private String defaultLocationCode; |
|||
|
|||
@ExcelProperty("联系人姓名") |
|||
private String contactPerson; |
|||
|
|||
@ExcelProperty("联系人电话") |
|||
private String contactPhone; |
|||
|
|||
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|||
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|||
private String available; |
|||
|
|||
@ExcelProperty("生效时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime activeTime; |
|||
|
|||
@ExcelProperty("失效时间") |
|||
@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