自动化立体仓库 - WMS系统
zhang
昨天 8d90833250abee5951572659e9a192f2487cd704
src/main/java/com/zy/asrs/entity/AppVersion.java
@@ -1,11 +1,11 @@
package com.zy.asrs.entity;
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
@Data
@@ -14,37 +14,38 @@
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value= "")
    @ApiModelProperty(value = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 版本号
     */
    @ApiModelProperty(value= "版本号")
    @ApiModelProperty(value = "版本号")
    private String version;
    /**
     * app路径
     */
    @ApiModelProperty(value= "app路径")
    @ApiModelProperty(value = "app路径")
    private String path;
    /**
     * 是否为最新版本 0: 否  1: 是
     * 是否为最新版本 0: 否  1: 是
     */
    @ApiModelProperty(value= "是否为最新版本 0: 否  1: 是  ")
    @ApiModelProperty(value = "是否为最新版本 0: 否  1: 是  ")
    private Integer latest;
    /**
     * app类型 0: pda  1: lcd
     * app类型 0: pda  1: lcd
     */
    @ApiModelProperty(value= "app类型 0: pda  1: lcd  ")
    @ApiModelProperty(value = "app类型 0: pda  1: lcd  ")
    private Integer type;
    public AppVersion() {}
    public AppVersion() {
    }
    public AppVersion(String version,String path,Integer latest,Integer type) {
    public AppVersion(String version, String path, Integer latest, Integer type) {
        this.version = version;
        this.path = path;
        this.latest = latest;
@@ -58,9 +59,11 @@
//            null    // app类型
//    );
    public String getLatest$(){
        if (null == this.latest){ return null; }
        switch (this.latest){
    public String getLatest$() {
        if (null == this.latest) {
            return null;
        }
        switch (this.latest) {
            case 0:
                return "否";
            case 1:
@@ -70,9 +73,11 @@
        }
    }
    public String getType$(){
        if (null == this.type){ return null; }
        switch (this.type){
    public String getType$() {
        if (null == this.type) {
            return null;
        }
        switch (this.type) {
            case 0:
                return "pda";
            case 1: