From ebd2f4397a92c6a5096de1b86d59154363344720 Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期二, 13 五月 2025 08:48:15 +0800 Subject: [PATCH] # --- zy-acs-manager/src/main/java/com/zy/acs/manager/system/entity/Menu.java | 40 ++-------------------------------------- 1 files changed, 2 insertions(+), 38 deletions(-) diff --git a/zy-acs-manager/src/main/java/com/zy/acs/manager/system/entity/Menu.java b/zy-acs-manager/src/main/java/com/zy/acs/manager/system/entity/Menu.java index 6864f5b..0263f0a 100644 --- a/zy-acs-manager/src/main/java/com/zy/acs/manager/system/entity/Menu.java +++ b/zy-acs-manager/src/main/java/com/zy/acs/manager/system/entity/Menu.java @@ -1,10 +1,10 @@ package com.zy.acs.manager.system.entity; import com.baomidou.mybatisplus.annotation.*; -import com.zy.acs.manager.system.service.TenantService; -import com.zy.acs.manager.system.service.UserService; import com.zy.acs.framework.common.Cools; import com.zy.acs.framework.common.SpringUtils; +import com.zy.acs.manager.system.service.TenantService; +import com.zy.acs.manager.system.service.UserService; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; @@ -193,30 +193,6 @@ return null; } - public String getStatus$(){ - if (null == this.status){ return null; } - switch (this.status){ - case 1: - return "姝e父"; - case 0: - return "绂佺敤"; - default: - return String.valueOf(this.status); - } - } - - public String getDeleted$(){ - if (null == this.deleted){ return null; } - switch (this.deleted){ - case 1: - return "鏄�"; - case 0: - return "鍚�"; - default: - return String.valueOf(this.deleted); - } - } - public String getCreateTime$(){ if (Cools.isEmpty(this.createTime)){ return ""; @@ -252,18 +228,6 @@ public Boolean getStatusBool(){ if (null == this.status){ return null; } switch (this.status){ - case 1: - return true; - case 0: - return false; - default: - return null; - } - } - - public Boolean getDeletedBool(){ - if (null == this.deleted){ return null; } - switch (this.deleted){ case 1: return true; case 0: -- Gitblit v1.9.1