自动化立体仓库 - WMS系统
Junjie
2023-05-24 7dee324420d2559f2cb40fef1a8299a03625d46a
man_mat增加物料类型
3个文件已修改
24 ■■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/Mat.java 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/MatMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/Mat.java
@@ -337,6 +337,12 @@
    @TableField("inout_everyday")
    private Boolean inoutEveryday;
    /**
     * 物料类型{1:单品,2:高频,3:混放}
     */
    @ApiModelProperty(value= "物料类型")
    @TableField("man_type")
    private Integer manType;
    public Mat() {}
@@ -559,4 +565,20 @@
        }
    }
    public String getManType$() {
        if (this.manType == null) {
            return "";
        }
        switch (this.manType) {
            case 1:
                return "单品";
            case 2:
                return "高频";
            case 3:
                return "混放";
            default:
                return "";
        }
    }
}
src/main/resources/mapper/MatMapper.xml
@@ -48,6 +48,7 @@
        <result column="store_min" property="storeMin" />
        <result column="store_max_date" property="storeMaxDate" />
        <result column="inout_everyday" property="inoutEveryday" />
        <result column="man_type" property="manType" />
    </resultMap>
    <select id="listByPage" resultMap="BaseResultMap">
src/main/webapp/static/js/common.js
@@ -223,6 +223,7 @@
    ,{field: 'storeMin$', align: 'center',title: '库存下限'}
    ,{field: 'storeMaxDate$', align: 'center',title: '库龄上限(天)'}
    ,{field: 'inoutEveryday$', align: 'center',title: '高频', width: 60}
    ,{field: 'manType$', align: 'center',title: '物料类型', width: 100}
]