src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -9,6 +9,7 @@
import com.zy.asrs.mapper.BasWrkIotypeMapper;
import com.zy.asrs.mapper.BasWrkStatusMapper;
import com.zy.asrs.service.*;
import com.zy.common.utils.Synchro;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
@@ -24,6 +25,9 @@
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value= "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 工作号
     */
@@ -45,6 +49,14 @@
    @ApiModelProperty(value= "")
    @TableField("whs_type")
    private Integer whsType;
    /**
     * 0:需要创建agv搬运空料架任务
     * 1:wms成功创建agv搬运空料架任务
     */
    @ApiModelProperty(value= "需要下发agv任务的状态")
    @TableField("ctn_type")
    private Integer ctnType;
    /**
     * 工作状态
@@ -156,10 +168,6 @@
    @ApiModelProperty(value= "工作时间")
    @TableField("io_time")
    private Date ioTime;
    @ApiModelProperty(value= "")
    @TableField("ctn_type")
    private Integer ctnType;
    @ApiModelProperty(value= "")
    private String packed;
@@ -307,6 +315,10 @@
    @ApiModelProperty(value= "满板")
    @TableField("full_plt")
    private String fullPlt;
    @ApiModelProperty(value= "拍照图片")
    private String pic;
    public String getWrkSts$(){
        BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class);
@@ -484,4 +496,8 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}