From 23ba8d87f56be44209687ee03c8bda3e351412d1 Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期三, 25 二月 2026 16:26:59 +0800
Subject: [PATCH] 添加地磅抓拍记录页面

---
 fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java |   70 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java b/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java
index 7ce60e0..0c6e1a0 100644
--- a/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java
+++ b/fzzy-igdss-core/src/main/java/com/fzzy/igds/domain/Depot.java
@@ -2,6 +2,7 @@
 
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableName;
+import com.bstek.dorado.annotation.PropertyDef;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.fzzy.igds.constant.*;
 import lombok.Data;
@@ -97,6 +98,18 @@
     @TableField("bulk_weight")
     private Double bulkWeight;
 
+    @Column(name = "length", columnDefinition = "decimal(20,2) COMMENT '闀�/鐩村緞(鍗曚綅锛氱背)'")
+    @TableField("length")
+    private Double length = 0.0;
+
+    @Column(name = "width", columnDefinition = "decimal(20,2) COMMENT '瀹�(鍗曚綅锛氱背)'")
+    @TableField("width")
+    private Double width = 0.0;
+
+    @Column(name = "height", columnDefinition = "decimal(20,2) COMMENT '楂樺害(鍗曚綅锛氱背)'")
+    @TableField("height")
+    private Double height = 0.0;
+
     @Column(name = "store_keeper", columnDefinition = "varchar(40) COMMENT '淇濈鍛�'")
     @TableField("store_keeper")
     private String storeKeeper;
@@ -128,4 +141,61 @@
     @TableField("pledge_bank")
     private String pledgeBank;
 
+
+    // ------------鍏朵粬灞炴�т俊鎭�------------//
+    @Transient
+    @TableField(exist = false)
+    private String foodVarietyName;
+
+    @Transient
+    @TableField(exist = false)
+    private String foodTypeName;
+
+    @Transient
+    @TableField(exist = false)
+    private String depotTypeName;
+
+    @Transient
+    @TableField(exist = false)
+    private String depotStatusName;
+
+    @Transient
+    @TableField(exist = false)
+    private String foodLevelName;
+
+
+    public String getFoodLevelName() {
+        if (null != this.foodLevel) {
+            return FoodLevel.getMsg(this.foodLevel);
+        }
+        return null;
+    }
+
+    public String getFoodVarietyName() {
+        if (null != this.foodVariety) {
+            return FoodVariety.getMsg(this.foodVariety);
+        }
+        return null;
+    }
+
+    public String getFoodTypeName() {
+        if (null != this.foodType) {
+            return FoodType.getMsg(this.foodType);
+        }
+        return null;
+    }
+
+    public String getDepotTypeName() {
+        if (null != this.depotType) {
+            return DepotType.getMsg(this.depotType);
+        }
+        return null;
+    }
+
+    public String getDepotStatusName() {
+        if (null != this.depotStatus) {
+            return DepotStatus.getMsg(this.depotStatus);
+        }
+        return null;
+    }
 }

--
Gitblit v1.9.3