| | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import io.swagger.models.auth.In; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.BasWrkIotypeService; |
| | |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
| | | @TableName("wcs_task_wrk") |
| | | @TableName("\"SOURCE\".\"wcs_task_wrk\"") |
| | | public class TaskWrk implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | * wms任务号 |
| | | */ |
| | | @ApiModelProperty(value= "wms任务号") |
| | | @TableId(value = "task_no", type = IdType.INPUT) |
| | | @TableField("task_no") |
| | | @TableId(value = "\"task_no\"", type = IdType.INPUT) |
| | | @TableField("\"task_no\"") |
| | | private String taskNo; |
| | | |
| | | /** |
| | | * 任务状态 1: 接收 2: 派发 3: 完结 4: 取消 |
| | | */ |
| | | @ApiModelProperty(value= "任务状态 1: 接收 2: 派发 3: 完结 4: 取消 ") |
| | | @ApiModelProperty(value= "任务状态 1: 接收 2: 派发 5: 完结 4: 取消 ") |
| | | @TableField("\"status\"") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 任务号 |
| | | */ |
| | | @ApiModelProperty(value= "任务号") |
| | | @TableField("wrk_no") |
| | | @TableField("\"wrk_no\"") |
| | | private Integer wrkNo; |
| | | |
| | | /** |
| | | * 任务号 |
| | | */ |
| | | @ApiModelProperty(value= "重量") |
| | | @TableField("\"sc_weight\"") |
| | | private Integer scWeight; |
| | | |
| | | /** |
| | | * 任务时间(接收时间) |
| | | */ |
| | | @ApiModelProperty(value= "任务时间(接收时间)") |
| | | @TableField("create_time") |
| | | @TableField("\"create_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | |
| | | * 任务类型 |
| | | */ |
| | | @ApiModelProperty(value= "任务类型") |
| | | @TableField("io_type") |
| | | @TableField("\"io_type\"") |
| | | private Integer ioType; |
| | | |
| | | /** |
| | | * 优先级 |
| | | */ |
| | | @ApiModelProperty(value= "优先级") |
| | | @TableField("io_pri") |
| | | private Double ioPri; |
| | | @TableField("\"io_pri\"") |
| | | private Integer ioPri; |
| | | |
| | | /** |
| | | * 起点 |
| | | */ |
| | | @ApiModelProperty(value= "起点") |
| | | @TableField("start_point") |
| | | @TableField("\"start_point\"") |
| | | private String startPoint; |
| | | |
| | | /** |
| | | * 终点 |
| | | */ |
| | | @ApiModelProperty(value= "终点") |
| | | @TableField("target_point") |
| | | @TableField("\"target_point\"") |
| | | private String targetPoint; |
| | | |
| | | /** |
| | | * 修改人员 |
| | | */ |
| | | @ApiModelProperty(value= "修改人员") |
| | | @TableField("modi_user") |
| | | @TableField("\"modi_user\"") |
| | | private Long modiUser; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @TableField("modi_time") |
| | | @TableField("\"modi_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date modiTime; |
| | | |
| | |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | @TableField("\"memo\"") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 条码 |
| | | */ |
| | | @ApiModelProperty(value= "条码") |
| | | @TableField("\"barcode\"") |
| | | private String barcode; |
| | | |
| | | /** |
| | | * 派发时间 |
| | | */ |
| | | @ApiModelProperty(value= "派发时间") |
| | | @TableField("assign_time") |
| | | @TableField("\"assign_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date assignTime; |
| | | |
| | |
| | | * 执行时间 |
| | | */ |
| | | @ApiModelProperty(value= "执行时间") |
| | | @TableField("execute_time") |
| | | @TableField("\"execute_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date executeTime; |
| | | |
| | |
| | | * 完结时间 |
| | | */ |
| | | @ApiModelProperty(value= "完结时间") |
| | | @TableField("complete_time") |
| | | @TableField("\"complete_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date completeTime; |
| | | |
| | |
| | | * 取消时间 |
| | | */ |
| | | @ApiModelProperty(value= "取消时间") |
| | | @TableField("cancel_time") |
| | | @TableField("\"cancel_time\"") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date cancelTime; |
| | | |
| | |
| | | * 工作状态 |
| | | */ |
| | | @ApiModelProperty(value= "工作状态") |
| | | @TableField("wrk_sts") |
| | | @TableField("\"wrk_sts\"") |
| | | private Integer wrkSts; |
| | | |
| | | /** |
| | | * 堆垛机号 |
| | | */ |
| | | @ApiModelProperty(value= "堆垛机号") |
| | | @TableField("crn_no") |
| | | @TableField("\"crn_no\"") |
| | | private Integer crnNo; |
| | | |
| | | /** |
| | | * 指令执行步序 |
| | | */ |
| | | @ApiModelProperty(value= "指令执行步序") |
| | | @TableField("command_step") |
| | | private Integer commandStep; |
| | | @ApiModelProperty(value = "移库标记") |
| | | @TableField("\"transfer_mark\"") |
| | | private Integer transferMark; |
| | | |
| | | @ApiModelProperty(value = "原始起点") |
| | | @TableField("\"origin_start_point\"") |
| | | private String originStartPoint; |
| | | |
| | | @ApiModelProperty(value = "原始起点") |
| | | @TableField("\"origin_target_point\"") |
| | | private String originTargetPoint; |
| | | |
| | | public TaskWrk() {} |
| | | |
| | | public TaskWrk(String taskNo,Integer status,Integer wrkNo,Date createTime,Integer ioType,Double ioPri,String startPoint,String targetPoint,Long modiUser,Date modiTime,String memo,String barcode,Date assignTime,Date executeTime,Date completeTime,Date cancelTime,Integer wrkSts) { |
| | | public TaskWrk(String taskNo,Integer status,Integer wrkNo,Date createTime,Integer ioType,Integer ioPri,String startPoint,String targetPoint,Long modiUser,Date modiTime,String memo,String barcode,Date assignTime,Date executeTime,Date completeTime,Date cancelTime,Integer wrkSts) { |
| | | this.taskNo = taskNo; |
| | | this.status = status; |
| | | this.wrkNo = wrkNo; |
| | |
| | | case 2: |
| | | return "派发"; |
| | | case 3: |
| | | return "完结"; |
| | | return "步序完成"; |
| | | case 4: |
| | | return "取消"; |
| | | case 5: |
| | | return "完结"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |