From 6c3f8b83a4d5a5c7d7044532fbb8fbf3dde6c497 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期一, 12 一月 2026 18:20:12 +0800
Subject: [PATCH] 入库流程功能优化
---
src/main/java/com/zy/asrs/entity/LocAroundBind.java | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/LocAroundBind.java b/src/main/java/com/zy/asrs/entity/LocAroundBind.java
index 77f9731..a21eb0e 100644
--- a/src/main/java/com/zy/asrs/entity/LocAroundBind.java
+++ b/src/main/java/com/zy/asrs/entity/LocAroundBind.java
@@ -20,16 +20,16 @@
private Long id;
/**
- * 鍙版満ID
+ * 鏈哄彴ID
*/
- @ApiModelProperty(value= "鍙版満ID")
+ @ApiModelProperty(value= "鏈哄彴ID")
@TableField("dev_id")
private Long devId;
/**
- * 鍙版満鍙�
+ * 鏈哄彴鍙�
*/
- @ApiModelProperty(value= "鍙版満鍙�")
+ @ApiModelProperty(value= "鏈哄彴鍙�")
@TableField("dev_no")
private String devNo;
@@ -47,6 +47,10 @@
@TableField("b_loc_no")
private String bLocNo;
+ @ApiModelProperty("鏄惁榛樿")
+ @TableField("is_default")
+ private Integer isDefault;
+
public LocAroundBind() {}
public LocAroundBind(Long devId,String devNo,Long bLocId,String bLocNo) {
@@ -56,9 +60,17 @@
this.bLocNo = bLocNo;
}
+ public String getDef$() {
+ if (this.isDefault == 0) {
+ return "鍚�";
+ } else {
+ return "鏄�";
+ }
+ }
+
// LocAroundBind locAroundBind = new LocAroundBind(
-// null, // 鍙版満ID[闈炵┖]
-// null, // 鍙版満鍙穂闈炵┖]
+// null, // 鏈哄彴ID[闈炵┖]
+// null, // 鏈哄彴鍙穂闈炵┖]
// null, // 搴撲綅ID[闈炵┖]
// null // 搴撲綅鐮乕闈炵┖]
// );
--
Gitblit v1.9.1