自动化立体仓库 - WMS系统
whycq
2024-11-25 bcb19e8c93c3cabf0d8eb3ee34ed819b3c5a10ef
src/main/java/com/zy/asrs/entity/AgvBasDevp.java
@@ -7,6 +7,7 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.BasLocStsService;
import com.zy.asrs.service.BasLocType1Service;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
@@ -129,9 +130,9 @@
    private Integer floor;
    /**
     * 容器类型
     * 货架类型
     */
    @ApiModelProperty(value= "容器类型")
    @ApiModelProperty(value= "货架类型")
    @TableField("ctn_type")
    private Integer ctnType;
@@ -272,19 +273,12 @@
    }
    public String getLocType1$() {
        if (null == this.locType1){ return null; }
        switch (this.locType1){
            case 0:
                return "未知";
            case 1:
                return "待包装";
            case 2:
                return "原材料";
            case 3:
                return "箱壳";
            default:
                return String.valueOf(this.locType1);
        BasLocType1Service service = SpringUtils.getBean(BasLocType1Service.class);
        BasLocType1 basLocType1 = service.selectById(this.locType1);
        if (!Cools.isEmpty(basLocType1)){
            return String.valueOf(basLocType1.getLocDesc());
        }
        return null;
    }
    public String getModiUser$(){