#
yxFwq
2024-07-17 fc94238a57a2b90a9938fa2b628b7bcd2774f6d5
src/main/java/com/zy/asrs/entity/BasJarMast.java
@@ -29,13 +29,13 @@
     * ID
     */
    @ApiModelProperty(value= "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 工作号
     */
    @ApiModelProperty(value= "工作号")
    @TableId(value = "wrk_no", type = IdType.INPUT)
    @TableField("wrk_no")
    private Long wrkNo;
@@ -195,6 +195,24 @@
        this.burial = jar.getBurial();
    }
    public BasJarMast(BasJar jar) {
        Date now = new Date();
//        this.jarEnterStaNo = jarEnterStaNo;
        this.jarOutStaNo = jar.getStaNo();
        this.jarId = jar.getJarNo();
        this.jarRegin = jar.getRegion();
        this.status = 0;
        this.enterSteNo = jar.getEnterSteNo();
        this.outSteId = jar.getOutSteNo();
        this.enterRgvId = jar.getEnterRgvNo();;
        this.outRgvId = jar.getOutRgvNo();;
        this.ioTime = now;
        this.modiTime = now;
        this.appeTime = now;
        this.jarLocDigit = jarLocDigit;
        this.burial = jar.getBurial();
    }
//    BasJarMast basJarMast = new BasJarMast(
//            null,    // 工作号[非空]