#
Junjie
2025-02-14 ac4341ea6b66ae02427d39d35f41d42d78b2eb2e
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/entity/MatField.java
@@ -72,6 +72,13 @@
    private Integer unique;
    /**
     * 字段类型 0: 物料  1: 库存
     */
    @ApiModelProperty(value= "字段类型 0: 物料  1: 库存")
    @TableField("field_type")
    private Integer fieldType;
    /**
     * 所属机构
     */
    @ApiModelProperty(value= "所属机构")
@@ -168,6 +175,18 @@
        }
    }
    public String getFieldType$(){
        if (null == this.fieldType){ return null; }
        switch (this.fieldType){
            case 0:
                return "物料";
            case 1:
                return "库存";
            default:
                return String.valueOf(this.fieldType);
        }
    }
    public String getHostId$(){
        HostService service = SpringUtils.getBean(HostService.class);
        Host host = service.getById(this.hostId);