zjj
2025-04-15 a44c8916586337ea4b7e1faa0c4f622ac3e2784f
#优化:物料表导入模版与web端不符合
2个文件已修改
60 ■■■■ 已修改文件
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Matnr.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/MatnrsTemplate.java 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Matnr.java
@@ -43,19 +43,19 @@
    /**
     * 名称
     */
    @ApiModelProperty(value= "名称")
    @ApiModelProperty(value= "物料名称")
    private String name;
    /**
     * 编码
     */
    @ApiModelProperty(value= "编码")
    @ApiModelProperty(value= "物料编码")
    private String code;
    /**
     * 货主ID
     */
    @ApiModelProperty(value= "货主ID")
    @ApiModelProperty(value= "货主标识")
    private Long shipperId;
//    @ApiModelProperty(value = "货主编码")
@@ -64,7 +64,7 @@
    /**
     * 分组ID(*)
     */
    @ApiModelProperty(value= "分组ID(*)")
    @ApiModelProperty(value= "物料分组(*)")
    private Long groupId;
    /**
@@ -82,7 +82,7 @@
    /**
     * 规则代码
     */
    @ApiModelProperty(value= "规则代码")
    @ApiModelProperty(value= "批次规则标识")
    private Long rglarId;
    /**
@@ -118,7 +118,7 @@
    /**
     * 长*宽*高(m)
     */
    @ApiModelProperty(value= "长*宽*高(m)")
    @ApiModelProperty(value= "尺寸(m)")
    private String size;
    /**
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/MatnrsTemplate.java
@@ -27,9 +27,31 @@
    private String name;
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
    @Excel(name = "物料编码*")
    @ExcelComment(example = "matnr123")
    private String code;
    @Excel(name = "货主标识")
    @ExcelComment(example = "123")
    private Long shipperId;
    @NotNull
    @Excel(name = "物料分组")
    @ExcelComment(example = "手机")
    private Long groupId;
    @Excel(name = "ERP编码")
    @ExcelComment(example = "erp001")
    private String platCode;
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
    @NotNull
    @Excel(name = "分类名称*")
@@ -40,11 +62,6 @@
    @Excel(name = "物料助记码*")
    @ExcelComment(example = "P3528461569")
    private String erpCode;
    @NotNull
    @Excel(name = "规格")
    @ExcelComment(example = "HW-148*68*10")
    private String spec;
    @NotNull
    @Excel(name = "型号")
@@ -59,7 +76,7 @@
    @ExcelComment(notNull = false, example = "紫红色")
    private String color;
    @Excel(name = "大小")
    @Excel(name = "尺寸")
    @ExcelComment(notNull = false, example = "148*68*10")
    private String size;
@@ -67,12 +84,12 @@
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String describle;
    @Excel(name = "描述")
    @Excel(name = "标包数量")
    @ExcelComment(notNull = false, example = "新上市三折叠")
    private String nromNum;
    @NotNull
    @Excel(name = "主单位")
    @Excel(name = "单位")
    @ExcelComment(example = "部")
    private String unit;
@@ -80,6 +97,15 @@
    @ExcelComment(example = "部")
    private String purUnit;
    @Excel(name = "库位单位")
    @ExcelComment(example = "部")
    private String stockUnit;
    @NotNull
    @Excel(name = "分类助记码*")
    @ExcelComment(example = "256874556")
    private String groupCode;
    @Excel(name = "ABC类")
    @ExcelComment(notNull = false, example = "0")
    private String stockLevel;