From 691bee4229856f8bf81c2720092ecee1c9f21509 Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 09 四月 2026 19:18:12 +0800
Subject: [PATCH] #getter$摘出entity

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Transfer.java |   72 ++++++++++++++++++------------------
 1 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Transfer.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Transfer.java
index 154ab5b..3dffa93 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Transfer.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Transfer.java
@@ -3,6 +3,13 @@
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import java.text.SimpleDateFormat;
 import java.util.Date;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.vincent.rsf.server.manager.enums.OrderType;
+import com.vincent.rsf.server.system.constant.DictTypeCode;
+import com.vincent.rsf.server.system.entity.DictData;
+import com.vincent.rsf.server.system.service.DictDataService;
+import lombok.experimental.Accessors;
 import org.springframework.format.annotation.DateTimeFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -11,6 +18,7 @@
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableLogic;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.TableField;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
@@ -20,8 +28,10 @@
 import com.vincent.rsf.server.system.entity.User;
 import java.io.Serializable;
 import java.util.Date;
+import java.util.Objects;
 
 @Data
+@Accessors(chain = true)
 @TableName("man_transfer")
 public class Transfer implements Serializable {
 
@@ -47,16 +57,16 @@
     private Integer type;
 
     /**
-     * 鏉ユ簮: 1: ERP绯荤粺   2: WMS绯荤粺鐢熸垚   3: EXCEL瀵煎叆    4: QMS绯荤粺  
+     * 鏉ユ簮: 1: ERP绯荤粺   2: WMS绯荤粺鐢熸垚   3: EXCEL瀵煎叆    4: QMS绯荤粺
      */
     @ApiModelProperty(value= "鏉ユ簮: 1: ERP绯荤粺   2: WMS绯荤粺鐢熸垚   3: EXCEL瀵煎叆    4: QMS绯荤粺  ")
     private Integer source;
 
     /**
-     * 鎵ц鐘舵��: 0: 鏈墽琛�   1: 鎵ц涓�   2: 鎵ц瀹屾垚  
+     * 鎵ц鐘舵��: 0: 鏈墽琛�   1: 鎵ц涓�   2: 鎵ц瀹屾垚
      */
     @ApiModelProperty(value= "鎵ц鐘舵��: 0: 鏈墽琛�   1: 鎵ц涓�   2: 鎵ц瀹屾垚  ")
-    private Integer exceStatus;
+    private Short exceStatus;
 
     /**
      * 婧愪粨搴揑D
@@ -107,13 +117,13 @@
     private String tarAreaName;
 
     /**
-     * 鐘舵�� 1: 姝e父  0: 鍐荤粨  
+     * 鐘舵�� 1: 姝e父  0: 鍐荤粨
      */
     @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 鍐荤粨  ")
     private Integer status;
 
     /**
-     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
+     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�
      */
     @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
     @TableLogic
@@ -131,6 +141,9 @@
     @ApiModelProperty(value= "娣诲姞浜哄憳")
     private Long createBy;
 
+    @TableField(exist = false)
+    private String createBy$;
+
     /**
      * 娣诲姞鏃堕棿
      */
@@ -144,6 +157,9 @@
     @ApiModelProperty(value= "淇敼浜哄憳")
     private Long updateBy;
 
+    @TableField(exist = false)
+    private String updateBy$;
+
     /**
      * 淇敼鏃堕棿
      */
@@ -156,10 +172,17 @@
      */
     @ApiModelProperty(value= "澶囨敞")
     private String memo;
+    @TableField(exist = false)
+    private String type$;
+
+    @TableField(exist = false)
+    private String exceStatus$;
+
+
 
     public Transfer() {}
 
-    public Transfer(String code,Integer type,Integer source,Integer exceStatus,Long orgWareId,String orgWareName,Long tarWareId,String tarWareName,Long orgAreaId,String orgAreaName,Long tarAreaId,String tarAreaName,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
+    public Transfer(String code,Integer type,Integer source,Short exceStatus,Long orgWareId,String orgWareName,Long tarWareId,String tarWareName,Long orgAreaId,String orgAreaName,Long tarAreaId,String tarAreaName,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
         this.code = code;
         this.type = type;
         this.source = source;
@@ -221,19 +244,14 @@
         }
     }
 
-    public String getExceStatus$(){
-        if (null == this.exceStatus){ return null; }
-        switch (this.exceStatus){
-            case 0:
-                return "鏈墽琛�";
-            case  1:
-                return "鎵ц涓�";
-            case  2:
-                return "鎵ц瀹屾垚";
-            default:
-                return String.valueOf(this.exceStatus);
-        }
+    public String getType$() {
+        return this.type$;
     }
+
+    public String getExceStatus$() {
+        return this.exceStatus$;
+    }
+
 
     public String getStatus$(){
         if (null == this.status){ return null; }
@@ -247,29 +265,11 @@
         }
     }
 
-    public String getCreateBy$(){
-        UserService service = SpringUtils.getBean(UserService.class);
-        User user = service.getById(this.createBy);
-        if (!Cools.isEmpty(user)){
-            return String.valueOf(user.getNickname());
-        }
-        return null;
-    }
-
     public String getCreateTime$(){
         if (Cools.isEmpty(this.createTime)){
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
-    }
-
-    public String getUpdateBy$(){
-        UserService service = SpringUtils.getBean(UserService.class);
-        User user = service.getById(this.updateBy);
-        if (!Cools.isEmpty(user)){
-            return String.valueOf(user.getNickname());
-        }
-        return null;
     }
 
     public String getUpdateTime$(){

--
Gitblit v1.9.1