自动化立体仓库 - WMS系统
#
lfd
2025-03-06 d3234825d804a6a205dba1c6092acc8e29981b81
src/main/java/com/zy/ints/entity/ErpDetTb.java
@@ -14,17 +14,17 @@
import java.util.Date;
@Data
@TableName("erp_det_tb")
@TableName("ERP_DETTB")
public class ErpDetTb implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 单据号码
     * 单据号码  主键
     */
    @ApiModelProperty(value = "单据号码")
    @TableId(value = "bill_no", type = IdType.INPUT)
    @TableField("bill_no")
    @TableId(value = "BIL_NO", type = IdType.INPUT)
    @TableField("BIL_NO")
    private String billNo;
    /**
@@ -32,7 +32,7 @@
     */
    @ApiModelProperty(value = "品号")
    @TableId(value = "prd_no", type = IdType.INPUT)
    @TableField("prd_no")
    @TableField("PRD_NO")
    private String prdNo;
    /**
@@ -51,13 +51,17 @@
     * 增减符号:1(加,入库)、2(减,出库)
     */
    @ApiModelProperty(value = "增减符号:1(加,入库)、2(减,出库)")
    @TableField("add_id")
    private String addId;
    @ApiModelProperty(value = "增减符号:1(加,入库)、2(减,出库)")
    @TableField("ADD_ID")
    private Integer addId2;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @TableField("QTY")
    private Double qty;
    /**
@@ -65,13 +69,14 @@
     */
    @ApiModelProperty(value = "货品特征")
    @TableId(value = "prd_mark", type = IdType.INPUT)
    @TableField("prd_mark")
    @TableField("PRD_MARK")
    private String prdMark;
    /**
     * 仓库
     */
    @ApiModelProperty(value = "仓库")
    @TableField("WH")
    private String wh;
    /**
@@ -79,39 +84,53 @@
     */
    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("BIL_DATE")
    private Date billdate;
    /**
     * 状态:0(初始状态)、1(已接收)、2(异常)
     */
    @ApiModelProperty(value = "状态:0(初始状态)、1(已接收)、2(异常)")
    @TableField("STATUS")
    private Integer status;
    /**
     * 行号 主键
     */
    @ApiModelProperty(value = "状态:0(初始状态)、1(已接收)、2(异常)")
    @TableField("ITM")
    private Integer itm;
    /**
     * 备用字段1
     */
    @ApiModelProperty(value = "备用字段1")
    @TableField("Temp1")
    private String temp1;
    /**
     * 备用字段2
     */
    @ApiModelProperty(value = "备用字段2")
    @TableField("Temp2")
    private String temp2;
    /**
     * 备用字段3
     */
    @ApiModelProperty(value = "备用字段3")
    @TableField("Temp3")
    private String temp3;
    public ErpDetTb() {
    }
    public ErpDetTb(String billNo, String prdNo, String iokindid, String addId, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) {
    public ErpDetTb(String billNo, String prdNo, String iokindid, int itm, Integer addId2, String addId, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) {
        this.billNo = billNo;
        this.prdNo = prdNo;
        this.iokindid = iokindid;
        this.itm = itm;
        this.addId2 = addId2;
        this.addId = addId;
        this.qty = qty;
        this.prdMark = prdMark;
@@ -123,6 +142,21 @@
        this.temp3 = temp3;
    }
    public ErpDetTb(String billNo, String prdNo, int itm, Integer addId2, Double qty, String prdMark, String wh, Date billdate, Integer status, String temp1, String temp2, String temp3) {
        this.billNo = billNo;
        this.prdNo = prdNo;
        this.itm = itm;
        this.addId2 = addId2;
        this.qty = qty;
        this.prdMark = prdMark;
        this.wh = wh;
        this.billdate = billdate;
        this.status = status;
        this.temp1 = temp1;
        this.temp2 = temp2;
        this.temp3 = temp3;
    }
//    DetTb detTb = new DetTb(
//            null,    // id[非空]
//            null,    // 单据号码[非空]