自动化立体仓库 - WMS系统
zhang
昨天 8d90833250abee5951572659e9a192f2487cd704
src/main/java/com/zy/system/entity/Role.java
@@ -3,9 +3,9 @@
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.zy.system.service.RoleService;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.system.service.RoleService;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
@@ -46,7 +46,8 @@
    @ApiModelProperty(value= "角色等级 1: 一级  2: 二级  3: 三级  4: 四级  5: 五级  ")
    private Short level;
    public Role() {}
    public Role() {
    }
    public Role(String code,String name,Long leader,Short level) {
        this.code = code;
@@ -108,7 +109,9 @@
    }
    public String getLevel$(){
        if (null == this.level){ return null; }
        if (null == this.level) {
            return null;
        }
        switch (this.level){
            case 1:
                return "一级";