#
Junjie
12 小时以前 d4e6820f6cc65ab6d7315abeff8360dbf5fd4a91
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -14,6 +14,7 @@
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.text.SimpleDateFormat;
@@ -89,6 +90,7 @@
     */
    @ApiModelProperty(value= "工作时间")
    @TableField("io_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date ioTime;
    /**
@@ -103,6 +105,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @TableField("modi_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date modiTime;
    /**
@@ -117,10 +120,12 @@
     */
    @ApiModelProperty(value= "添加时间")
    @TableField("appe_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date appeTime;
    @ApiModelProperty(value= "")
    @TableField("error_time")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date errorTime;
    @ApiModelProperty(value= "")
@@ -175,6 +180,13 @@
    private String systemMsg;
    /**
     * 下发失败次数
     */
    @ApiModelProperty(value= "下发失败次数")
    @TableField(value = "send_fail_count")
    private Integer sendFailCount;
    /**
     * 批次号
     */
    @ApiModelProperty(value= "批次号")
@@ -194,6 +206,9 @@
        if (entity != null) {
            return entity.getWrkDesc();
        }
        try {
            return com.zy.core.enums.WrkStsType.query(this.wrkSts).desc;
        } catch (Exception ignore) {}
        return null;
    }
@@ -275,6 +290,10 @@
    }
    public void setErrorMemo(String errorMemo) {
        if (errorMemo == null) {
            this.errorMemo = null;
            return;
        }
        if (errorMemo.length() > 255) {
            errorMemo = errorMemo.substring(0, 150);
        }