自动化立体仓库 - WMS系统
*
L
3 天以前 083659a2e1a8eb245b086d7046ee7d8e61f07a8f
src/main/java/com/zy/asrs/entity/Mat.java
@@ -8,6 +8,7 @@
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;
@@ -56,10 +57,10 @@
    private Long tagId;
    /**
     * 商品编号
     * 规格
     */
    @ApiModelProperty(value= "商品编号")
    @ExcelProperty(value = "商品编码")
    @ApiModelProperty(value= "规格")
    @ExcelProperty(value = "规格")
    private String matnr;
@@ -151,7 +152,7 @@
     * 厂家
     */
    @ApiModelProperty(value= "厂家")
    @ExcelProperty(value = "商品编号")
    @ExcelProperty(value = "厂家")
    private String manu;
    /**
@@ -351,7 +352,7 @@
//    Mat mat = new Mat(
//            null,    // 编号
//            null,    // 所属归类
//            null,    // 商品编号
//            null,    // 规格
//            null,    // 商品名称
//            null,    // 别名
//            null,    // 规格
@@ -439,9 +440,11 @@
        if (null == this.danger){ return null; }
        switch (this.danger){
            case 1:
                return "是";
                return "合格";
            case 2:
                return "不合格";
            case 0:
                return "否";
                return "待判";
            default:
                return String.valueOf(this.danger);
        }
@@ -491,5 +494,8 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}