自动化立体仓库 - WMS系统
zwl
3 天以前 2acfc2d2a0e956910c51bd996f443b3cb9bd3dc9
src/main/java/com/zy/asrs/entity/RowLastno.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zy.asrs.service.BasWhsService;
import com.zy.asrs.service.RowLastnoTypeService;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
@@ -41,6 +42,13 @@
    @ApiModelProperty(value= "当前排号")
    @TableField("current_row")
    private Integer currentRow;
    /**
     * 当前堆垛机号
     */
    @ApiModelProperty(value= "当前堆垛机号")
    @TableField("current_crn_no")
    private Integer currentCrnNo;
    /**
     * 起始排号
@@ -225,6 +233,14 @@
        this.currentRow = currentRow;
    }
    public Integer getCurrentCrnNo() {
        return currentCrnNo;
    }
    public void setCurrentCrnNo(Integer currentCrnNo) {
        this.currentCrnNo = currentCrnNo;
    }
    public Integer getsRow() {
        return sRow;
    }
@@ -382,8 +398,10 @@
    public String getTypeId$() {
        RowLastnoTypeService rowLastnoTypeService = SpringUtils.getBean(RowLastnoTypeService.class);
        RowLastnoType rowLastnoType = rowLastnoTypeService.selectById(this.typeId.longValue());
        BasWhsService basWhsService = SpringUtils.getBean(BasWhsService.class);
        BasWhs basWhs = basWhsService.selectById(rowLastnoType.getType().longValue());
        if (!Cools.isEmpty(rowLastnoType)){
            return rowLastnoType.getTypeName()+"<==>"+rowLastnoType.getMemo();
            return rowLastnoType.getTypeName()+"<==>"+rowLastnoType.getMemo()+"<==>"+basWhs.getWhsDesc();
        }
        return typeId.toString();
    }