From cd7347f053f20bab6eb360323ba2cd74c05102b5 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期四, 11 十二月 2025 11:27:07 +0800
Subject: [PATCH] 界面字段显示优化

---
 src/main/java/com/zy/asrs/entity/BasContainer.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/BasContainer.java b/src/main/java/com/zy/asrs/entity/BasContainer.java
index 5dc10ee..e229c6c 100644
--- a/src/main/java/com/zy/asrs/entity/BasContainer.java
+++ b/src/main/java/com/zy/asrs/entity/BasContainer.java
@@ -1,5 +1,6 @@
 package com.zy.asrs.entity;
 
+import com.baomidou.mybatisplus.annotations.TableField;
 import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.enums.IdType;
 
@@ -34,9 +35,10 @@
     private String barcode;
 
     @ApiModelProperty("瀹瑰櫒绫诲瀷")
-    private String type;
+    private Long type;
 
     @ApiModelProperty("鏄惁娣锋斁")
+    @TableField("flag_mix")
     private Integer flagMix;
 
     @ApiModelProperty("鏈�澶ф贩鏀剧绫�")
@@ -58,7 +60,6 @@
         this.barcode = barcode;
     }
 
-
     public String getType$() {
         if (Cools.isEmpty(type)) {
             return "鏂欑";
@@ -69,6 +70,8 @@
             return ContainerType.CONTAINER_TYPE_SALVER.desc;
         } else if (type.equals(ContainerType.CONTAINER_TYPE_CAGE.type)) {
             return ContainerType.CONTAINER_TYPE_CAGE.desc;
+        } else if (type.equals(ContainerType.CONTAINER_TYPE_CAR.type)) {
+            return ContainerType.CONTAINER_TYPE_CAR.desc;
         }
         return null;
     }
@@ -81,7 +84,7 @@
             return CommonEnum.COMMON_ENUM_N.desc;
         } else if (flagMix.equals(CommonEnum.COMMON_ENUM_Y.type)) {
             return CommonEnum.COMMON_ENUM_Y.desc;
-        }
+        } 
         return null;
     }
 

--
Gitblit v1.9.1