forked from sfms3.0/sfms3.0
6 changed files with 125 additions and 10 deletions
@ -0,0 +1,18 @@ |
|||||
|
package com.win.module.wms.controller.countPlan.vo; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
import lombok.EqualsAndHashCode; |
||||
|
import lombok.ToString; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 盘点计划主 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@EqualsAndHashCode(callSuper = true) |
||||
|
@ToString(callSuper = true) |
||||
|
public class CountPlanMainImportErrorVO extends CountPlanMainImportVO { |
||||
|
|
||||
|
} |
@ -0,0 +1,101 @@ |
|||||
|
package com.win.module.wms.controller.countPlan.vo; |
||||
|
|
||||
|
import com.alibaba.excel.annotation.ExcelProperty; |
||||
|
import com.win.framework.excel.core.annotations.DictFormat; |
||||
|
import com.win.framework.excel.core.convert.DictConvert; |
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.Data; |
||||
|
import lombok.NoArgsConstructor; |
||||
|
import lombok.experimental.Accessors; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 盘点计划主 Excel VO |
||||
|
* |
||||
|
* @author 超级管理员 |
||||
|
*/ |
||||
|
@Data |
||||
|
@AllArgsConstructor |
||||
|
@NoArgsConstructor |
||||
|
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
||||
|
public class CountPlanMainImportVO { |
||||
|
|
||||
|
@ExcelProperty(value = "盘点类型", converter = DictConvert.class) |
||||
|
@DictFormat("count_type") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String type; |
||||
|
|
||||
|
@ExcelProperty("执行周期") |
||||
|
private String crontab; |
||||
|
|
||||
|
@ExcelProperty(value = "维度", converter = DictConvert.class) |
||||
|
@DictFormat("count_dimension") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String dimension; |
||||
|
|
||||
|
@ExcelProperty("限值") |
||||
|
private BigDecimal limitedValue; |
||||
|
|
||||
|
@ExcelProperty("物品忽略名单") |
||||
|
private String ignoreListOfItem; |
||||
|
|
||||
|
@ExcelProperty("库位忽略名单") |
||||
|
private String ignoreListOfLocation; |
||||
|
|
||||
|
@ExcelProperty("盘点范围列表") |
||||
|
private String scopeList; |
||||
|
|
||||
|
@ExcelProperty("单据号") |
||||
|
private String number; |
||||
|
|
||||
|
@ExcelProperty("业务类型") |
||||
|
private String businessType; |
||||
|
|
||||
|
@ExcelProperty("备注") |
||||
|
private String remark; |
||||
|
|
||||
|
@ExcelProperty("创建时间") |
||||
|
private LocalDateTime createTime; |
||||
|
|
||||
|
@ExcelProperty("创建者用户名") |
||||
|
private String creator; |
||||
|
|
||||
|
@ExcelProperty("开始时间") |
||||
|
private LocalDateTime beginTime; |
||||
|
|
||||
|
@ExcelProperty("结束时间") |
||||
|
private LocalDateTime endTime; |
||||
|
|
||||
|
@ExcelProperty(value = "状态", converter = DictConvert.class) |
||||
|
@DictFormat("plan_status") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
||||
|
private String status; |
||||
|
|
||||
|
@ExcelProperty("最后更新时间") |
||||
|
private LocalDateTime updateTime; |
||||
|
|
||||
|
@ExcelProperty("最后更新者用户名") |
||||
|
private String updater; |
||||
|
|
||||
|
@ExcelProperty("快照盘点") |
||||
|
private String isSnapshot; |
||||
|
|
||||
|
@ExcelProperty("冻结盘点") |
||||
|
private String isFreeze; |
||||
|
|
||||
|
@ExcelProperty("盘点空库位") |
||||
|
private String isCountEmptyLocation; |
||||
|
|
||||
|
@ExcelProperty("盘点零库存") |
||||
|
private String isCountZeroInventory; |
||||
|
|
||||
|
@ExcelProperty("盘点负库存") |
||||
|
private String isCountNegativeInventory; |
||||
|
|
||||
|
@ExcelProperty("明盘") |
||||
|
private String isOpenCount; |
||||
|
|
||||
|
@ExcelProperty("是否可用") |
||||
|
private String available; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue