czt
2025-12-01 096296cd7485c5583c8194d88cca700e3c4d84a0
fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java
@@ -73,8 +73,8 @@
    @TableField("food_level")
    private String foodLevel;
    @Column(name = "food_locationId", columnDefinition = "varchar(40) COMMENT '粮食产地'")
    @TableField("food_locationId")
    @Column(name = "food_location_id", columnDefinition = "varchar(40) COMMENT '粮食产地'")
    @TableField("food_location_id")
    private String foodLocationId;
    @Column(name = "food_location", columnDefinition = "varchar(40) COMMENT '粮食产地'")
@@ -123,60 +123,4 @@
    @TableField("order_num")
    private Integer orderNum = 1;
    // ------------其他属性信息------------//
    @Transient
    private String foodVarietyName;
    @Transient
    private String foodTypeName;
    @Transient
    private String depotTypeName;
    @Transient
    private String depotStatusName;
    @Transient
    private String foodLevelName;
    @Transient
    private String storeKeeperLevel = "高级保管员";
    @Transient
    private String storeKeeperPhone = "####";
    public String getFoodLevelName() {
        if (null != this.foodLevel) {
            return FoodLevel.getMsg(this.foodLevel);
        }
        return null;
    }
    public String getFoodVarietyName() {
        if (null != this.foodVariety) {
            return FoodVariety.getMsg(this.foodVariety);
        }
        return null;
    }
    public String getFoodTypeName() {
        if (null != this.foodType) {
            return FoodType.getMsg(this.foodType);
        }
        return null;
    }
    public String getDepotTypeName() {
        if (null != this.depotType) {
            return DepotType.getMsg(this.depotType);
        }
        return null;
    }
    public String getDepotStatusName() {
        if (null != this.depotStatus) {
            return DepotStatus.getMsg(this.depotStatus);
        }
        return null;
    }
}