From 0e7e7b7935a47f17622500b76c24ac185e491486 Mon Sep 17 00:00:00 2001
From: zc <zc@123>
Date: 星期四, 24 四月 2025 10:48:38 +0800
Subject: [PATCH] 初步完成调试

---
 src/main/java/com/zy/asrs/entity/RowLastno.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/RowLastno.java b/src/main/java/com/zy/asrs/entity/RowLastno.java
index d4897ed..5160dbd 100644
--- a/src/main/java/com/zy/asrs/entity/RowLastno.java
+++ b/src/main/java/com/zy/asrs/entity/RowLastno.java
@@ -4,6 +4,9 @@
 import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.annotations.TableName;
 import com.baomidou.mybatisplus.enums.IdType;
+import com.baomidou.mybatisplus.mapper.EntityWrapper;
+import com.zy.asrs.service.BasWhsService;
+import com.zy.asrs.service.RowLastnoTypeService;
 import com.zy.system.entity.User;
 import com.zy.system.service.UserService;
 import com.core.common.Cools;
@@ -378,6 +381,16 @@
     public Integer getTypeId() {
         return typeId;
     }
+    public String getTypeId$() {
+        RowLastnoTypeService rowLastnoTypeService = SpringUtils.getBean(RowLastnoTypeService.class);
+        RowLastnoType rowLastnoType = rowLastnoTypeService.selectById(this.typeId.longValue());
+        BasWhsService basWhsService = SpringUtils.getBean(BasWhsService.class);
+        BasWhs basWhs = basWhsService.selectOne(new EntityWrapper<BasWhs>().eq("identifying",rowLastnoType.getType().longValue()) );
+        if (!Cools.isEmpty(rowLastnoType)){
+            return rowLastnoType.getTypeName()+"<==>"+rowLastnoType.getMemo()+"<==>"+basWhs.getWhsDesc();
+        }
+        return typeId.toString();
+    }
 
     public void setTypeId(Integer typeId) {
         this.typeId = typeId;

--
Gitblit v1.9.1