zc
2025-10-16 3c9b9886fc9e9a26dac4e8b5dd4cc0db0b8fce82
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Loc.java
@@ -1,6 +1,7 @@
package com.zy.acs.manager.manager.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zy.acs.framework.common.Cools;
@@ -80,6 +81,7 @@
     * 排
     */
    @ApiModelProperty(value= "排")
    @TableField("`row`")
    private Integer row;
    /**
@@ -128,13 +130,13 @@
     * 租户
     */
    @ApiModelProperty(value= "租户")
    private Integer tenantId;
    private Long tenantId;
    /**
     * 添加人员
     */
    @ApiModelProperty(value= "添加人员")
    private Integer createBy;
    private Long createBy;
    /**
     * 添加时间
@@ -146,7 +148,7 @@
     * 修改人员
     */
    @ApiModelProperty(value= "修改人员")
    private Integer updateBy;
    private Long updateBy;
    /**
     * 修改时间
@@ -162,7 +164,7 @@
    public Loc() {}
    public Loc(String uuid,Long zoneId,String locNo,String name,Long code,Long locSts,Double offset,Integer row,Integer bay,Integer lev,String zpallet,Long locType,Integer status,Integer deleted,Integer tenantId,Integer createBy,Date createTime,Integer updateBy,Date updateTime,String memo) {
    public Loc(String uuid,Long zoneId,String locNo,String name,Long code,Long locSts,Double offset,Integer row,Integer bay,Integer lev,String zpallet,Long locType,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.uuid = uuid;
        this.zoneId = zoneId;
        this.locNo = locNo;
@@ -221,7 +223,7 @@
        CodeService service = SpringUtils.getBean(CodeService.class);
        Code code = service.getById(this.code);
        if (!Cools.isEmpty(code)){
            return String.valueOf(code.getUuid());
            return String.valueOf(code.getData());
        }
        return null;
    }
@@ -265,17 +267,7 @@
        }
    }
    public String getDeleted$(){
        if (null == this.deleted){ return null; }
        switch (this.deleted){
            case 1:
                return "是";
            case 0:
                return "否";
            default:
                return String.valueOf(this.deleted);
        }
    }
    public String getCompDirect$(){
        if (null == this.compDirect){ return null; }
@@ -289,5 +281,16 @@
        }
    }
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return true;
            case 0:
                return false;
            default:
                return null;
        }
    }
}