*
lsh
3 天以前 aa8638651f5f488ccc714a6e73e5b351bdfbde2e
src/main/java/com/zy/asrs/entity/BasAgvMast.java
@@ -5,6 +5,8 @@
import com.baomidou.mybatisplus.annotations.TableField;
import java.text.SimpleDateFormat;
import java.util.Date;
import com.core.common.SnowflakeIdWorker;
import org.springframework.format.annotation.DateTimeFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -29,7 +31,7 @@
     * ID
     */
    @ApiModelProperty(value= "ID")
    @TableId(value = "task_no", type = IdType.AUTO)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
@@ -138,7 +140,17 @@
    @TableField("io_type")
    private Integer ioType;
    public BasAgvMast() {}
    public BasAgvMast() {
        SnowflakeIdWorker snowflakeIdWorker = SpringUtils.getBean(SnowflakeIdWorker.class);
        this.timestamp = snowflakeIdWorker.nextId();
        this.priority = 1L;
        this.status = 0;
        Date now = new Date();
        this.appeTime = now;
        this.modiTime = now;
    }
    public BasAgvMast(Integer taskNo,Long timestamp,Integer sourceStaNo,Integer staNo,String sourceLocNo,String locNo,Long priority,Integer floorNo,Integer status,Date errorTime,String errorMemo,Date appeTime,Date modiTime,String modiUser) {
        this.taskNo = taskNo;