From 6a9275fe27d5291d3ea8063bcc3712dde42fe8e7 Mon Sep 17 00:00:00 2001
From: Administrator <1051256694@qq.com>
Date: 星期四, 19 三月 2026 19:05:50 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/asrs/entity/LocAroundBind.java b/src/main/java/com/zy/asrs/entity/LocAroundBind.java
index f18f3ed..ec077df 100644
--- a/src/main/java/com/zy/asrs/entity/LocAroundBind.java
+++ b/src/main/java/com/zy/asrs/entity/LocAroundBind.java
@@ -2,9 +2,11 @@
 
 import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.enums.IdType;
+import com.baomidou.mybatisplus.mapper.EntityWrapper;
 import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableField;
 
 import com.core.common.SpringUtils;
+import com.zy.asrs.service.BasDeviceService;
 import com.zy.asrs.service.BasLocStsService;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
@@ -61,6 +63,14 @@
     @TableField("dev_name")
     private String devName;
 
+    @ApiModelProperty("鏈哄彴椤哄簭")
+    @TableField("order_no")
+    private Integer orderNo;
+
+    @ApiModelProperty("鏄惁鍐荤粨")
+    @TableField("freeze")
+    private Integer freeze;
+
     public LocAroundBind() {}
 
     public LocAroundBind(Long devId,String devNo,Long bLocId,String blocNo) {
@@ -75,6 +85,15 @@
             return "澶囩敤";
         } else {
             return "榛樿";
+        }
+    }
+    public String getDevNo$() {
+        BasDeviceService bean = SpringUtils.getBean(BasDeviceService.class);
+        BasDevice type = bean.selectOne(new EntityWrapper<BasDevice>().eq("type", devNo));
+        if (type == null) {
+            return "<UNK>";
+        }else {
+            return type.getDevNo();
         }
     }
 
@@ -99,4 +118,11 @@
 //    );
 
 
+    public LocAroundBind(Long devId, String devNo, String blocNo, String locType, int orderNo) {
+        this.devId = devId;
+        this.devNo = devNo;
+        this.blocNo = blocNo;
+        this.locType = locType;
+        this.orderNo = orderNo;
+    }
 }

--
Gitblit v1.9.1