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

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Delivery.java |   42 +++++++++++++-----------------------------
 1 files changed, 13 insertions(+), 29 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Delivery.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Delivery.java
index 5dd7d96..e208b7d 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Delivery.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/Delivery.java
@@ -181,6 +181,16 @@
      */
     @ApiModelProperty(value = "澶囨敞")
     private String memo;
+    @TableField(exist = false)
+    private String exceStatus$;
+
+    @TableField(exist = false)
+    private String type$;
+
+    @TableField(exist = false)
+    private String wkType$;
+
+
 
     public Delivery() {
     }
@@ -231,41 +241,15 @@
 
 
     public String getExceStatus$() {
-        if (Cools.isEmpty(this.exceStatus)) {
-            return null;
-        }
-        DictDataService dictDataService = SpringUtils.getBean(DictDataService.class);
-        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>()
-                .eq(DictData::getDictTypeCode, DictTypeCode.SYS_PO_EXCE_STATUS)
-                .eq(DictData::getValue, this.exceStatus));
-        if (Objects.isNull(dictData)) {
-            return null;
-        }
-        return dictData.getLabel();
+        return this.exceStatus$;
     }
 
     public String getType$() {
-        if (Cools.isEmpty(this.type)) {
-            return "";
-        }
-        DictDataService dictDataService = SpringUtils.getBean(DictDataService.class);
-        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>().eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_ORDER_TYPE).eq(DictData::getValue, this.type));
-        if (Objects.isNull(dictData)) {
-            return null;
-        }
-        return dictData.getLabel();
+        return this.type$;
     }
 
     public String getWkType$() {
-        if (Cools.isEmpty(this.wkType)) {
-            return "";
-        }
-        DictDataService dictDataService = SpringUtils.getBean(DictDataService.class);
-        DictData dictData = dictDataService.getOne(new LambdaQueryWrapper<DictData>().eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_BUSINESS_TYPE).eq(DictData::getValue, this.wkType));
-        if (Objects.isNull(dictData)) {
-            return null;
-        }
-        return dictData.getLabel();
+        return this.wkType$;
     }
 
     public String getStartTime$() {

--
Gitblit v1.9.1