| | |
| | | private Long tagId; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ExcelProperty(value = "商品编码") |
| | | @ApiModelProperty(value= "存货编码") |
| | | @ExcelProperty(value = "存货编码") |
| | | private String matnr; |
| | | |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ExcelProperty(value = "商品名称") |
| | | @ApiModelProperty(value= "物料名称") |
| | | @ExcelProperty(value = "存货名称") |
| | | private String maktx; |
| | | |
| | | /** |
| | | * 别名 |
| | | * 移动类型 |
| | | */ |
| | | @ApiModelProperty(value= "别名") |
| | | @ExcelProperty(value = "别名") |
| | | @ApiModelProperty(value= "生产部门名称") |
| | | @ExcelProperty(value = "生产部门名称") |
| | | private String name; |
| | | |
| | | /** |
| | | * 规格 |
| | | */ |
| | | @ApiModelProperty(value= "规格") |
| | | @ExcelProperty(value = "规格") |
| | | @ExcelProperty(value = "规格型号") |
| | | private String specs; |
| | | |
| | | /** |
| | | * 型号 |
| | | * 批次 |
| | | */ |
| | | @ApiModelProperty(value= "型号") |
| | | @ExcelProperty(value = "型号") |
| | | @ApiModelProperty(value= "批次") |
| | | @ExcelProperty(value = "通用型号") |
| | | private String model; |
| | | |
| | | /** |
| | | * 颜色 |
| | | */ |
| | | @ApiModelProperty(value= "颜色") |
| | | @ExcelProperty(value = "颜色") |
| | | @ExcelProperty(value = "是否内销") |
| | | private String color; |
| | | |
| | | /** |
| | | * 品牌 |
| | | */ |
| | | @ApiModelProperty(value= "品牌") |
| | | @ExcelProperty(value = "品牌") |
| | | @ExcelProperty(value = "存货大类名称") |
| | | private String brand; |
| | | |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @ApiModelProperty(value= "单位") |
| | | @ExcelProperty(value = "单位") |
| | | @ExcelProperty(value = "主计量单位名称") |
| | | private String unit; |
| | | |
| | | /** |
| | | * 单价 |
| | | */ |
| | | @ApiModelProperty(value= "单价") |
| | | @ExcelProperty(value = "单价") |
| | | @ExcelProperty(value = "进项税率%") |
| | | private Double price; |
| | | |
| | | /** |
| | | * sku |
| | | */ |
| | | @ApiModelProperty(value= "sku") |
| | | @ExcelProperty(value = "sku") |
| | | //@ExcelProperty(value = "sku") |
| | | private String sku; |
| | | |
| | | /** |
| | | * 单位量 |
| | | * 包数 |
| | | */ |
| | | @ApiModelProperty(value= "单位量") |
| | | @ExcelProperty(value = "单位量") |
| | | @ApiModelProperty(value= "包数") |
| | | @ExcelProperty(value = "销项税率%") |
| | | private Double units; |
| | | |
| | | /** |
| | | * 条码 |
| | | */ |
| | | @ApiModelProperty(value= "条码") |
| | | @ExcelProperty(value = "条码") |
| | | //@ExcelProperty(value = "条码") |
| | | private String barcode; |
| | | |
| | | /** |
| | | * 产地 |
| | | * 物料状态 |
| | | */ |
| | | @ApiModelProperty(value= "产地") |
| | | @ExcelProperty(value = "产地") |
| | | @ApiModelProperty(value= "物料状态") |
| | | @ExcelProperty(value = "是否批次管理") |
| | | private String origin; |
| | | |
| | | /** |
| | | * 厂家 |
| | | */ |
| | | @ApiModelProperty(value= "厂家") |
| | | @ExcelProperty(value = "商品编号") |
| | | //@ExcelProperty(value = "厂家") |
| | | private String manu; |
| | | |
| | | /** |
| | | * 生产日期 |
| | | * 单据时间 |
| | | */ |
| | | @ApiModelProperty(value= "生产日期") |
| | | @ExcelProperty(value = "生产日期") |
| | | @ApiModelProperty(value= "单据时间") |
| | | //@ExcelProperty(value = "单据时间") |
| | | @TableField("manu_date") |
| | | private String manuDate; |
| | | |
| | |
| | | * 品项数 |
| | | */ |
| | | @ApiModelProperty(value= "品项数") |
| | | @ExcelProperty(value = "品项数") |
| | | //@ExcelProperty(value = "品项数") |
| | | @TableField("item_num") |
| | | private String itemNum; |
| | | |
| | |
| | | * 重量 |
| | | */ |
| | | @ApiModelProperty(value= "重量") |
| | | @ExcelProperty(value = "重量") |
| | | //@ExcelProperty(value = "重量") |
| | | private Double weight; |
| | | |
| | | /** |
| | | * 长度 |
| | | */ |
| | | @ApiModelProperty(value= "长度") |
| | | @ExcelProperty(value = "长度") |
| | | //@ExcelProperty(value = "长度") |
| | | private Double length; |
| | | |
| | | /** |
| | | * 体积 |
| | | */ |
| | | @ApiModelProperty(value= "体积") |
| | | @ExcelProperty(value = "体积") |
| | | //@ExcelProperty(value = "体积") |
| | | private Double volume; |
| | | |
| | | /** |
| | | * 三方编码 |
| | | */ |
| | | @ApiModelProperty(value= "三方编码") |
| | | @ExcelProperty(value = "三方编码") |
| | | //@ExcelProperty(value = "三方编码") |
| | | @TableField("three_code") |
| | | private String threeCode; |
| | | |
| | |
| | | * 供应商 |
| | | */ |
| | | @ApiModelProperty(value= "供应商") |
| | | @ExcelProperty(value = "供应商") |
| | | @ExcelProperty(value = "建档人") |
| | | private String supp; |
| | | |
| | | /** |
| | | * 供应商编码 |
| | | */ |
| | | @ApiModelProperty(value= "供应商编码") |
| | | @ExcelProperty(value = "供应商编码") |
| | | //@ExcelProperty(value = "供应商编码") |
| | | @TableField("supp_code") |
| | | private String suppCode; |
| | | |
| | |
| | | */ |
| | | @ApiModelProperty(value= "是否批次 1: 是 0: 否 ") |
| | | @TableField("be_batch") |
| | | //@ExcelProperty(value = "'是否批次管理") |
| | | private Integer beBatch; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "保质期") |
| | | @TableField("dead_time") |
| | | @ExcelProperty(value = "保质期") |
| | | //@ExcelProperty(value = "保质期") |
| | | private String deadTime; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty(value= "预警天数") |
| | | @TableField("dead_warn") |
| | | @ExcelProperty(value = "预警天数") |
| | | //@ExcelProperty(value = "预警天数") |
| | | private Integer deadWarn; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 库存预警数量上限 |
| | | */ |
| | | @TableField("store_max") |
| | | private Double storeMax; |
| | | |
| | | /** |
| | | * 库存预警数量下限 |
| | | */ |
| | | @TableField("store_min") |
| | | private Double storeMin; |
| | | |
| | | /** |
| | | * 库龄预警上限 |
| | | */ |
| | | @TableField("store_max_date") |
| | | private Integer storeMaxDate; |
| | | |
| | | //启动日期 |
| | | @TableField("ds_date") |
| | | @ExcelProperty(value = "启用日期") |
| | | private Date dsDate; |
| | | |
| | | //建档日期 |
| | | @TableField("d_inv_create_datetime") |
| | | @ExcelProperty(value = "建档日期") |
| | | private Date dInvCreateDatetime; |
| | | |
| | | public Mat() {} |
| | | |
| | | public Mat(String uuid,Long tagId,String matnr,String maktx,String name,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | public Mat(String uuid, Long tagId, String matnr, String maktx, String name, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double length, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo, Double storeMax, Double storeMin, Integer storeMaxDate) { |
| | | this.uuid = uuid; |
| | | this.tagId = tagId; |
| | | this.matnr = matnr; |
| | |
| | | this.updateBy = updateBy; |
| | | this.updateTime = updateTime; |
| | | this.memo = memo; |
| | | this.storeMax = storeMax; |
| | | this.storeMin = storeMin; |
| | | this.storeMaxDate = storeMaxDate; |
| | | } |
| | | |
| | | // Mat mat = new Mat( |
| | | // null, // 编号 |
| | | // null, // 所属归类 |
| | | // null, // 商品编号 |
| | | // null, // 商品名称 |
| | | // null, // 别名 |
| | | // null, // 物料号 |
| | | // null, // 物料号 |
| | | // null, // 移动类型 |
| | | // null, // 规格 |
| | | // null, // 型号 |
| | | // null, // 批次 |
| | | // null, // 颜色 |
| | | // null, // 品牌 |
| | | // null, // 单位 |
| | | // null, // 单价 |
| | | // null, // sku |
| | | // null, // 单位量 |
| | | // null, // 包数 |
| | | // null, // 条码 |
| | | // null, // 产地 |
| | | // null, // 物料状态 |
| | | // null, // 厂家 |
| | | // null, // 生产日期 |
| | | // null, // 单据时间 |
| | | // null, // 品项数 |
| | | // null, // 安全库存量 |
| | | // null, // 重量 |
| | |
| | | if (null == this.beBatch){ return null; } |
| | | switch (this.beBatch){ |
| | | case 1: |
| | | return "是"; |
| | | return "高"; |
| | | case 0: |
| | | return "否"; |
| | | return "低"; |
| | | default: |
| | | return String.valueOf(this.beBatch); |
| | | return "低"; |
| | | } |
| | | } |
| | | |