skyouc
7 天以前 6e862677cb31ac62bf2520e4e81f1e2ab741efae
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/AsnOrderItem.java
@@ -5,6 +5,7 @@
import java.text.SimpleDateFormat;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
@@ -55,6 +56,7 @@
    @ApiModelProperty("字段索引")
    private String fieldsIndex;
    @ApiModelProperty("执行数量")
    private Double workQty;
@@ -99,6 +101,12 @@
     */
    @ApiModelProperty(value= "物料名称")
    private String maktx;
    @ApiModelProperty("规格")
    private String spec;
    @ApiModelProperty("型号")
    private String model;
    /**
     * 送货数量
@@ -181,13 +189,34 @@
    private Integer ntyStatus;
    /**
     * 状态 1: 正常  0: 冻结
     * 质检结果
     */
    @ApiModelProperty("质检结果")
    private Short isptResult;
    /**
     * 质检状态
     */
    @ApiModelProperty("质检状态")
    private Short isptStatus;
    @ApiModelProperty("合格数量")
    @TableField(exist = false)
    private Double safeQty;
    @ApiModelProperty("不合格数量")
    @TableField(exist = false)
    private Double disQty;
    /**
     * 状态 1: 正常  0: 冻结
     */
    @ApiModelProperty(value= "状态 1: 正常  0: 冻结  ")
    private Integer status;
    /**
     * 是否删除 1: 是  0: 否
     * 是否删除 1: 是  0: 否
     */
    @ApiModelProperty(value= "是否删除 1: 是  0: 否  ")
    private Integer deleted;
@@ -209,6 +238,7 @@
     */
    @ApiModelProperty(value= "添加时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
@@ -222,6 +252,7 @@
     */
    @ApiModelProperty(value= "修改时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
@@ -229,7 +260,7 @@
     */
    @ApiModelProperty(value= "备注")
    private String memo;
//
    public AsnOrderItem() {}
    public AsnOrderItem(Long asnId,String asnCode,Long poDetlId, String matnrCode, String poCode,Long matnrId,String matnk,Double anfme,String stockUnit,Double purQty,String purUnit,Double qty,String splrCode,String splrName,String qrcode,String barcode,String packName,Integer status, Integer ntyStatus,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
@@ -346,4 +377,22 @@
        }
    }
    public String getIsptResult$(){
        if (null == this.isptResult){ return null; }
        switch (this.isptResult){
            case 0:
                return "未检";
            case 1:
                return "合格";
            case 2:
                return "不合格";
            case 3:
                return "待定";
            case 4:
                return "部分合格";
            default:
                return "";
        }
    }
}