自动化立体仓库 - WMS系统
Junjie
2023-05-24 cf0353e26f5e5c698d6eff9a31d0424bfe5838d9
man_mat增加物料类型
3个文件已修改
14 ■■■■ 已修改文件
src/main/java/com/zy/asrs/entity/Mat.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/MatMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/common.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/entity/Mat.java
@@ -341,8 +341,8 @@
     * 物料类型{1:单品,2:高频,3:混放}
     */
    @ApiModelProperty(value= "物料类型")
    @TableField("man_type")
    private Integer manType;
    @TableField("mat_type")
    private Integer matType;
    public Mat() {}
@@ -565,11 +565,11 @@
        }
    }
    public String getManType$() {
        if (this.manType == null) {
    public String getMatType$() {
        if (this.matType == null) {
            return "";
        }
        switch (this.manType) {
        switch (this.matType) {
            case 1:
                return "单品";
            case 2:
src/main/resources/mapper/MatMapper.xml
@@ -48,7 +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" />
        <result column="mat_type" property="matType" />
    </resultMap>
    <select id="listByPage" resultMap="BaseResultMap">
src/main/webapp/static/js/common.js
@@ -223,7 +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}
    ,{field: 'matType$', align: 'center',title: '物料类型', width: 100}
]