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/TransferItem.java |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/TransferItem.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/TransferItem.java
index 2a1a489..47d755d 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/TransferItem.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/TransferItem.java
@@ -273,25 +273,11 @@
 //    );
 
     public String getSplrName() {
-        if (null == this.splrId) { return null; }
-        CompanysService companysService = SpringUtils.getBean(CompanysService.class);
-        Companys companys = companysService.getById(this.splrId);
-        if (Objects.isNull(companys)) {
-            return null;
-        } else {
-            return companys.getName();
-        }
+        return this.splrName;
     }
 
     public String getSplrCode() {
-        if (null == this.splrId) { return null; }
-        CompanysService companysService = SpringUtils.getBean(CompanysService.class);
-        Companys companys = companysService.getById(this.splrId);
-        if (Objects.isNull(companys)) {
-            return null;
-        } else {
-            return companys.getCode();
-        }
+        return this.splrCode;
     }
 
     public String getStatus$(){

--
Gitblit v1.9.1