自动化立体仓库 - WMS系统
123
zhang
5 天以前 21d0e7ab9d5c7316225a3e9eecf465cd37c9bd85
src/main/java/com/zy/asrs/entity/LocMast.java
@@ -94,7 +94,7 @@
    @TableField("loc_type1")
    private Short locType1;
    @ApiModelProperty(value= "宽窄类型{0:未知,1:窄库位,2:宽库位}")
    @ApiModelProperty(value= "上架区域类型{1:单品区,2:高频混放区,3:低频混放区}")
    @TableField("loc_type2")
    private Short locType2;
@@ -176,6 +176,18 @@
    @TableField("ctn_no")
    private String ctnNo;
    /**
     * 是否冻结
     */
    @ApiModelProperty(value= "是否冻结")
    private Integer frozen;
    /**
     * 冻结备注
     */
    @ApiModelProperty(value= "冻结备注")
    @TableField("frozen_memo")
    private String frozenMemo;
    public String getWhsType$(){
        BasWhsService service = SpringUtils.getBean(BasWhsService.class);
@@ -226,12 +238,12 @@
    public String getLocType2$() {
        if (null == this.locType2){ return null; }
        switch (this.locType2){
            case 0:
                return "未知";
            case 1:
                return "窄库位";
                return "单品区";
            case 2:
                return "宽库位";
                return "高频混放区";
            case 3:
                return "低频混放区";
            default:
                return String.valueOf(this.locType2);
        }
@@ -290,4 +302,15 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime);
    }
    public String getFrozen$() {
        if (null == this.frozen){ return null; }
        switch (this.frozen){
            case 0:
                return "";
            case 1:
                return "已冻结";
            default:
                return null;
        }
    }
}