自动化立体仓库 - WMS系统
dubin
2025-12-19 b00eeab31bd13ba34a03301aa441b0751d6a93e4
src/main/java/com/zy/asrs/entity/MatCode.java
@@ -9,11 +9,13 @@
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
@Data
@TableName("bas_mat_code")
public class MatCode implements Serializable {
@@ -70,23 +72,41 @@
    @ApiModelProperty(value= "单重")
    private Double weight;
    /**
     * 物料单位
     */
    @ApiModelProperty(value= "")
    private String str1;
    /**
     * 物料规格
     */
    @ApiModelProperty(value= "")
    private String str2;
    /**
     * 客户名称
     */
    @ApiModelProperty(value= "")
    private String str3;
    /**
     * 项目信息
     */
    @ApiModelProperty(value= "")
    private String str4;
    /**
     * 类别{1:原材料,2:成品,3:半成品}
     */
    @ApiModelProperty(value= "")
    private String str5;
    /**
     * 数量
     */
    @ApiModelProperty(value= "")
    private String str6;
    private Double str6;
    @ApiModelProperty(value= "")
    private String str7;
@@ -151,36 +171,21 @@
    public MatCode() {}
    public MatCode(String barcode,String matName,String specs,String unit,String size,String color,Double weight,String str1,String str2,String str3,String str4,String str5,String str6,String str7,String str8,String str9,String str10,Double num1,Double num2,Double num3,Double num4,Double num5,Date date1,Long appeUser,Date appeTime,Long modiUser,Date modiTime,Short status) {
        this.barcode = barcode;
        this.matName = matName;
        this.specs = specs;
        this.unit = unit;
        this.size = size;
        this.color = color;
        this.weight = weight;
        this.str1 = str1;
        this.str2 = str2;
        this.str3 = str3;
        this.str4 = str4;
        this.str5 = str5;
        this.str6 = str6;
        this.str7 = str7;
        this.str8 = str8;
        this.str9 = str9;
        this.str10 = str10;
        this.num1 = num1;
        this.num2 = num2;
        this.num3 = num3;
        this.num4 = num4;
        this.num5 = num5;
        this.date1 = date1;
        this.appeUser = appeUser;
        this.appeTime = appeTime;
        this.modiUser = modiUser;
        this.modiTime = modiTime;
        this.status = status;
    }
     public String getStr5$(){
        if (Cools.isEmpty(this.str5) ){
            return "";
        }
        if (this.str5.equals("1")){
            return "原材料";
        }
         if (this.str5.equals("2")){
             return "成品";
         }
         if (this.str5.equals("3")){
             return "半成品";
         }
        return "";
     }
//    MatCode matCode = new MatCode(
//            null,    // 条码
@@ -306,13 +311,6 @@
        this.str5 = str5;
    }
    public String getStr6() {
        return str6;
    }
    public void setStr6(String str6) {
        this.str6 = str6;
    }
    public String getStr7() {
        return str7;