| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.TagService; |
| | | import com.zy.common.utils.Synchro; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | private Long tagId; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 规格 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ExcelProperty(value = "商品编码") |
| | | @ApiModelProperty(value= "规格") |
| | | @ExcelProperty(value = "规格") |
| | | private String matnr; |
| | | |
| | | |
| | |
| | | private String sku; |
| | | |
| | | /** |
| | | * 单位量 |
| | | * 单位量 //偏移范围 |
| | | */ |
| | | @ApiModelProperty(value= "单位量") |
| | | @ExcelProperty(value = "单位量") |
| | |
| | | * 厂家 |
| | | */ |
| | | @ApiModelProperty(value= "厂家") |
| | | @ExcelProperty(value = "商品编号") |
| | | @ExcelProperty(value = "厂家") |
| | | private String manu; |
| | | |
| | | /** |
| | |
| | | @ExcelProperty(value = "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 库存预警数量上限 |
| | | */ |
| | | @TableField("store_max") |
| | | private Double storeMax; |
| | | |
| | | /** |
| | | * 库存预警数量下限 |
| | | */ |
| | | @TableField("store_min") |
| | | private Double storeMin; |
| | | |
| | | /** |
| | | * 库龄预警上限 |
| | | */ |
| | | @TableField("store_max_date") |
| | | private Integer storeMaxDate; |
| | | |
| | | 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) { |
| | |
| | | // Mat mat = new Mat( |
| | | // null, // 编号 |
| | | // null, // 所属归类 |
| | | // null, // 商品编号 |
| | | // null, // 规格 |
| | | // null, // 商品名称 |
| | | // null, // 别名 |
| | | // null, // 规格 |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |
| | | |
| | | } |