From 00b8aee10ff8a0fe54187d51ec6b8c5de14250b6 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 02 四月 2025 15:01:39 +0800
Subject: [PATCH] *

---
 src/main/java/com/zy/asrs/entity/StaDesc.java |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/StaDesc.java b/src/main/java/com/zy/asrs/entity/StaDesc.java
index 9c61158..c6e0a06 100644
--- a/src/main/java/com/zy/asrs/entity/StaDesc.java
+++ b/src/main/java/com/zy/asrs/entity/StaDesc.java
@@ -8,6 +8,7 @@
 import com.core.common.SpringUtils;
 import com.zy.asrs.service.BasCrnpService;
 import com.zy.asrs.service.BasDevpService;
+import com.zy.asrs.service.BasWrkIotypeService;
 import com.zy.system.entity.User;
 import com.zy.system.service.UserService;
 import io.swagger.annotations.ApiModelProperty;
@@ -16,7 +17,7 @@
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
-@TableName("asr_sta_desc")
+@TableName("\"SOURCE\".\"asr_sta_desc\"")
 public class StaDesc implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -287,5 +288,17 @@
         this.appeTime = appeTime;
     }
 
+    public String getTypeNo$() {
+        if (Cools.isEmpty(this.typeNo)){
+            return "";
+        }
+        BasWrkIotypeService basWrkIotypeService = SpringUtils.getBean(BasWrkIotypeService.class);
+        BasWrkIotype basWrkIotype = basWrkIotypeService.selectById(this.typeNo);
+        if (basWrkIotype == null) {
+            return "";
+        }
+        return basWrkIotype.getIoDesc();
+    }
+
 
 }

--
Gitblit v1.9.1