From 8d90833250abee5951572659e9a192f2487cd704 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 03 十一月 2025 09:30:52 +0800
Subject: [PATCH] 标准wms2.0
---
 src/main/java/com/zy/system/entity/User.java |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/main/java/com/zy/system/entity/User.java b/src/main/java/com/zy/system/entity/User.java
index 98d856f..f04af64 100644
--- a/src/main/java/com/zy/system/entity/User.java
+++ b/src/main/java/com/zy/system/entity/User.java
@@ -110,7 +110,7 @@
     public String getHostName() {
         HostService service = SpringUtils.getBean(HostService.class);
         Host host = service.selectById(this.hostId);
-        if (!Cools.isEmpty(host)){
+        if (!Cools.isEmpty(host)) {
             return host.getName();
         }
         return null;
@@ -185,9 +185,11 @@
         return sex;
     }
 
-    public String getSex$(){
-        if (null == this.sex){ return null; }
-        switch (this.sex){
+    public String getSex$() {
+        if (null == this.sex) {
+            return null;
+        }
+        switch (this.sex) {
             case 0:
                 return "鐢�";
             case 1:
@@ -207,10 +209,10 @@
         return roleId;
     }
 
-    public String getRoleName(){
+    public String getRoleName() {
         RoleService service = SpringUtils.getBean(RoleService.class);
         Role role = service.selectById(this.roleId);
-        if (!Cools.isEmpty(role)){
+        if (!Cools.isEmpty(role)) {
             return role.getName();
         }
         return null;
@@ -224,8 +226,8 @@
         return createTime;
     }
 
-    public String getCreateTime$(){
-        if (Cools.isEmpty(this.createTime)){
+    public String getCreateTime$() {
+        if (Cools.isEmpty(this.createTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
@@ -239,9 +241,11 @@
         return status;
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
+    public String getStatus$() {
+        if (null == this.status) {
+            return null;
+        }
+        switch (this.status) {
             case 1:
                 return "鍚敤";
             case 0:
--
Gitblit v1.9.1