forked from sfms3.0/sfms3.0
7 changed files with 15 additions and 163 deletions
@ -1,48 +0,0 @@ |
|||
package com.win.module.wms.controller.rule.vo; |
|||
|
|||
import com.alibaba.excel.annotation.write.style.ColumnWidth; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.*; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.util.*; |
|||
|
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
|
|||
/** |
|||
* 规则 Excel VO |
|||
* |
|||
* @author 超级管理员 |
|||
*/ |
|||
@Data |
|||
public class RuleExcelVO { |
|||
|
|||
@ExcelProperty("策略代码") |
|||
private String strategyCode; |
|||
|
|||
@ExcelProperty("优先级") |
|||
private Integer priority; |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("条件") |
|||
private String condition; |
|||
|
|||
@ExcelProperty("配置") |
|||
private String configuration; |
|||
|
|||
@ExcelProperty("创建时间") |
|||
@ColumnWidth(value = 16) |
|||
private LocalDateTime createTime; |
|||
|
|||
@ExcelProperty("创建者ID") |
|||
private String creator; |
|||
|
|||
} |
@ -1,33 +0,0 @@ |
|||
package com.win.module.wms.controller.rule.vo; |
|||
|
|||
import lombok.*; |
|||
import java.util.*; |
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import com.win.framework.common.pojo.PageParam; |
|||
|
|||
@Schema(description = "管理后台 - 规则 Excel 导出 Request VO,参数和 RulePageReqVO 是一致的") |
|||
@Data |
|||
public class RuleExportReqVO { |
|||
|
|||
@Schema(description = "策略代码") |
|||
private String strategyCode; |
|||
|
|||
@Schema(description = "优先级") |
|||
private Integer priority; |
|||
|
|||
@Schema(description = "代码") |
|||
private String code; |
|||
|
|||
@Schema(description = "名称") |
|||
private String name; |
|||
|
|||
@Schema(description = "描述") |
|||
private String description; |
|||
|
|||
@Schema(description = "条件") |
|||
private String condition; |
|||
|
|||
@Schema(description = "配置") |
|||
private String configuration; |
|||
|
|||
} |
@ -1,50 +0,0 @@ |
|||
package com.win.module.wms.controller.rule.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 io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Builder; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import static com.win.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; |
|||
|
|||
@Data |
|||
@Builder |
|||
@AllArgsConstructor |
|||
@NoArgsConstructor |
|||
@Accessors(chain = false) // 设置 chain = false,避免用户导入有问题
|
|||
public class RuleImportExcelVo { |
|||
|
|||
|
|||
@ExcelProperty("策略代码") |
|||
private String strategyCode; |
|||
|
|||
@ExcelProperty("优先级") |
|||
private Integer priority; |
|||
|
|||
@ExcelProperty("代码") |
|||
private String code; |
|||
|
|||
@ExcelProperty("名称") |
|||
private String name; |
|||
|
|||
@ExcelProperty("描述") |
|||
private String description; |
|||
|
|||
@ExcelProperty("条件") |
|||
private String condition; |
|||
|
|||
@ExcelProperty("配置") |
|||
private String configuration; |
|||
} |
Loading…
Reference in new issue