自动化立体仓库 - WMS系统
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -5,6 +5,7 @@
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zy.asrs.service.*;
import com.zy.asrs.utils.LocAliasUtils;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import com.core.common.Cools;
@@ -13,6 +14,7 @@
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -65,6 +67,13 @@
    @TableField("crn_no")
    private Integer crnNo;
    /**
     * 库区:1=A区,2=B区,3=C区
     */
    @ApiModelProperty(value= "库区")
    @TableField("area_id")
    private Integer areaId;
    @ApiModelProperty(value= "")
    @TableField("sheet_no")
    private String sheetNo;
@@ -112,13 +121,17 @@
    @TableField("loc_sts")
    private String locSts;
    @ApiModelProperty(value= "订单号")
    @ApiModelProperty(value= "业务单号")
    @TableField("user_no")
    private String userNo;
    @ApiModelProperty(value= "出库顺序")
    @TableField("plt_type")
    private Integer pltType;
    @ApiModelProperty(value= "出库批次序号")
    @TableField("batch_seq")
    private String batchSeq;
    /**
     * 拣料
@@ -205,6 +218,10 @@
    @TableField("exp_time")
    private Double expTime;
    @ApiModelProperty(value= "耗时(分钟)")
    @TableField("cost_time")
    private Integer costTime;
    @ApiModelProperty(value= "")
    @TableField("ref_wrkno")
    private Double refWrkno;
@@ -272,7 +289,7 @@
    @ApiModelProperty(value= "")
    @TableField("sc_weight")
    private Double scWeight;
    private BigDecimal scWeight;
    @ApiModelProperty(value= "")
    @TableField("log_mk")
@@ -292,10 +309,34 @@
    @ApiModelProperty(value= "条码")
    private String barcode;
    // Y:销售订单出库任务
    // ERP出库确认标记:Y 允许下发WCS,N/空 不允许
    @ApiModelProperty(value= "")
    @TableField("Pdc_type")
    private String PdcType;
    @ApiModelProperty(value= "集装箱号")
    @TableField("container_no")
    private String containerNo;
    @ApiModelProperty(value= "TEU")
    @TableField("teu")
    private Integer teu;
    @ApiModelProperty(value= "车牌号")
    @TableField("plate_no")
    private String plateNo;
    @ApiModelProperty(value= "车次号")
    @TableField("train_no")
    private String trainNo;
    @ApiModelProperty(value= "货物频次:1=高频,2=低频")
    @TableField("freq_type")
    private Integer freqType;
    @ApiModelProperty(value= "立方数,单位:立方米")
    @TableField("cube_number")
    private Double cubeNumber;
    @ApiModelProperty(value= "")
    @TableField("ctn_no")
@@ -358,6 +399,10 @@
        return null;
    }
    public String getAreaId$(){
        return LocAliasUtils.areaName(this.areaId);
    }
    public String getWrkDate$(){
        if (Cools.isEmpty(this.wrkDate)){
            return "";
@@ -369,9 +414,9 @@
        LocMastService service = SpringUtils.getBean(LocMastService.class);
        LocMast locMast = service.selectById(this.locNo);
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
            return LocAliasUtils.displayLocNo(locMast);
        }
        return null;
        return this.locNo;
    }
    public String getStaNo$(){
@@ -396,9 +441,9 @@
        LocMastService service = SpringUtils.getBean(LocMastService.class);
        LocMast locMast = service.selectById(this.sourceLocNo);
        if (!Cools.isEmpty(locMast)){
            return String.valueOf(locMast.getLocNo());
            return LocAliasUtils.displayLocNo(locMast);
        }
        return null;
        return this.sourceLocNo;
    }
    public String getIoTime$(){