|
|
@ -4,6 +4,7 @@ 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.Data; |
|
|
|
|
|
|
|
import java.time.LocalDateTime; |
|
|
@ -30,77 +31,81 @@ public class ItembasicExcelVO { |
|
|
|
private String desc2; |
|
|
|
|
|
|
|
@ExcelProperty(value = "状态", converter = DictConvert.class) |
|
|
|
@DictFormat("item_status") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_STATUS) |
|
|
|
private String status; |
|
|
|
|
|
|
|
@ExcelProperty(value = "计量单位", converter = DictConvert.class) |
|
|
|
@DictFormat("uom") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.UOM) |
|
|
|
private String uom; |
|
|
|
|
|
|
|
@ExcelProperty(value = "替代计量单位", converter = DictConvert.class) |
|
|
|
@DictFormat("uom") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.UOM) |
|
|
|
private String altUom; |
|
|
|
|
|
|
|
@ExcelProperty(value = "是否标包", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String isStdPack; |
|
|
|
|
|
|
|
@ExcelProperty(value = "可采购", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String enableBuy; |
|
|
|
|
|
|
|
@ExcelProperty(value = "可制造", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String enableMake; |
|
|
|
|
|
|
|
@ExcelProperty(value = "可委外加工", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String enableOutsourcing; |
|
|
|
|
|
|
|
@ExcelProperty(value = "回收件", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String isRecycled; |
|
|
|
|
|
|
|
@ExcelProperty(value = "虚零件", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String isPhantom; |
|
|
|
|
|
|
|
@ExcelProperty(value = "ABC类", converter = DictConvert.class) |
|
|
|
@DictFormat("abc_class") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ABC_CLASS) |
|
|
|
private String abcClass; |
|
|
|
|
|
|
|
@ExcelProperty(value = "类型", converter = DictConvert.class) |
|
|
|
@DictFormat("item_type") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_TYPE) |
|
|
|
private String type; |
|
|
|
|
|
|
|
@ExcelProperty(value = "种类", converter = DictConvert.class) |
|
|
|
@DictFormat("Item_category") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_CATEGORY) |
|
|
|
private String category; |
|
|
|
|
|
|
|
@ExcelProperty(value = "分组", converter = DictConvert.class) |
|
|
|
@DictFormat("item_group") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_GROUP) |
|
|
|
private String itemGroup; |
|
|
|
|
|
|
|
@ExcelProperty(value = "颜色", converter = DictConvert.class) |
|
|
|
@DictFormat("item_color") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_COLOR) |
|
|
|
private String color; |
|
|
|
|
|
|
|
@ExcelProperty(value = "配置", converter = DictConvert.class) |
|
|
|
@DictFormat("item_configuration") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.ITEM_CONFIGURATION) |
|
|
|
private String configuration; |
|
|
|
|
|
|
|
@ExcelProperty("项目") |
|
|
|
private String project; |
|
|
|
|
|
|
|
@ExcelProperty(value = "结算方式", converter = DictConvert.class) |
|
|
|
@DictFormat(DictTypeConstants.SETTLEMENT_TYPE) |
|
|
|
private String settlementType; |
|
|
|
|
|
|
|
@ExcelProperty(value = "质量等级", converter = DictConvert.class) |
|
|
|
@DictFormat("eq_level") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@DictFormat(DictTypeConstants.EQ_LEVEL) |
|
|
|
private String eqLevel; |
|
|
|
|
|
|
|
@ExcelProperty("有效天数") |
|
|
|
private Integer validityDays; |
|
|
|
|
|
|
|
@ExcelProperty(value = "是否可用", converter = DictConvert.class) |
|
|
|
@DictFormat("true_false") |
|
|
|
@DictFormat(DictTypeConstants.TRUE_FALSE) |
|
|
|
private String available; |
|
|
|
|
|
|
|
@ExcelProperty("生效时间") |
|
|
|