#
lsh
2024-06-22 a64aaeecc264176a60c6bb0e4e348c63f929d459
src/main/java/com/zy/asrs/entity/WrkMastExecute.java
@@ -142,14 +142,14 @@
    /**
     * 任务类型 0: 未知  1: 开门  2: 关门  3: 入硫化罐  4: 入冷却槽  5: 穿梭车进冷却槽  6: 穿梭车离开冷却槽  7: 出冷却槽  
     */
    @ApiModelProperty(value= "任务类型 0: 未知  1: 开门  2: 关门  3: 入硫化罐  4: 入冷却槽  5: 穿梭车进冷却槽  6: 穿梭车离开冷却槽  7: 出冷却槽  ")
    @ApiModelProperty(value= "任务类型 0: 未知  1: 开进料门  2: 关进料门  3: 开出料门  4: 关出料门  5: 入硫化罐  6: 入冷却槽  7: 穿梭车进冷却槽  8: 穿梭车离开冷却槽  9: 出冷却槽  ")
    @TableField("io_type")
    private Integer ioType;
    /**
     * 设备 0: 未知  1: 硫化罐  2: 冷却槽  
     */
    @ApiModelProperty(value= "设备 0: 未知  1: 硫化罐  2: 冷却槽  ")
    @ApiModelProperty(value= "设备 0: 未知  1: 硫化罐  2: 冷却槽  3: 硫化罐==>冷却槽  ")
    private Integer type;
    public WrkMastExecute() {}
@@ -174,6 +174,28 @@
        this.type = type;
    }
    public WrkMastExecute(BasJarMast basJarMast) {
        Date now = new Date();
        this.wrkNo = basJarMast.getWrkNo();
        this.enterStaNo = basJarMast.getEnterStaNo();           //入库源站点
        this.outStaNo = basJarMast.getOutStaNo();               //入库目标站点
        this.jarEnterStaNo = basJarMast.getJarEnterStaNo();     //入硫化罐站点
        this.jarOutStaNo = basJarMast.getJarOutStaNo();         //出硫化罐站点
//        this.jarId = jarId;
        this.jarRegin = basJarMast.getJarRegin();//区域
        this.status = 0;
//        this.steId = steId;
//        this.rgvId = rgvId;
        this.ioTime = basJarMast.getIoTime();
        this.modiTime = now;
        this.appeTime = now;
        this.wrkType = 0;
        this.wrkSts = 0;
//        this.ioType = ioType;
//        this.type = type;
    }
//    WrkMastExecute wrkMastExecute = new WrkMastExecute(
//            null,    // 工作号[非空]
//            null,    // 入库源站点[非空]