自动化立体仓库 - WMS系统
zhang
昨天 8d90833250abee5951572659e9a192f2487cd704
src/main/java/com/zy/system/entity/Api.java
@@ -58,7 +58,8 @@
     */
    private Short status;
    public Api() {}
    public Api() {
    }
    public Api(String namespace,Short oauth,String request,String response,Date createTime,Date updateTime,Short status) {
        this.namespace = namespace;   // 命名空间[非空]
@@ -91,7 +92,9 @@
    }
    public String getOauth$(){
        if (null == this.oauth){ return null; }
        if (null == this.oauth) {
            return null;
        }
        switch (this.oauth){
            case 0:
                return "无需授权";
@@ -157,7 +160,9 @@
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        if (null == this.status) {
            return null;
        }
        switch (this.status){
            case 1:
                return "有效";