From 223ce7dcb236cad6679275d8941e1a909f8a1efc Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期三, 21 一月 2026 10:12:30 +0800
Subject: [PATCH] #库区分配
---
src/main/java/com/zy/asrs/entity/ViewLocMapDto.java | 38 ++++++++++++++++++++++++++++++--------
1 files changed, 30 insertions(+), 8 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/ViewLocMapDto.java b/src/main/java/com/zy/asrs/entity/ViewLocMapDto.java
index 0604530..1113b3b 100644
--- a/src/main/java/com/zy/asrs/entity/ViewLocMapDto.java
+++ b/src/main/java/com/zy/asrs/entity/ViewLocMapDto.java
@@ -10,19 +10,30 @@
// 鍒�
private Integer bay1;
// 搴撲綅鐘舵��
- private String locType;
+ private String locSts;
// 鑳屾櫙鑹�
private String bgc = "#fff";
// 瀛椾綋棰滆壊
private String color = "#666";
+ private Integer row1;
+ private Integer lev1;
+ private Short locType2;
public ViewLocMapDto() {
}
- public ViewLocMapDto(String locNo, Integer bay1, String locType) {
+ public ViewLocMapDto(String locNo, Integer bay1, String locSts) {
this.locNo = locNo;
this.bay1 = bay1;
- this.locType = locType;
+ this.locSts = locSts;
+ }
+
+ public Short getLocType2() {
+ return locType2;
+ }
+
+ public void setLocType2(Short locType2) {
+ this.locType2 = locType2;
}
public String getLocNo() {
@@ -36,18 +47,24 @@
public Integer getBay1() {
return bay1;
}
+ public Integer getRow1() {
+ return row1;
+ }
+ public Integer getLev1() {
+ return lev1;
+ }
public void setBay1(Integer bay1) {
this.bay1 = bay1;
}
- public String getLocType() {
- return locType;
+ public String getLocSts() {
+ return locSts;
}
- public void setLocType(String locType) {
- this.locType = locType;
- switch (locType){
+ public void setLocSts(String locSts) {
+ this.locSts = locSts;
+ switch (locSts){
case "D":
this.bgc = "#00B271";
this.color = "#fff";
@@ -80,6 +97,10 @@
this.bgc = "#bac296";
this.color = "#fff";
break;
+ case "G":
+ this.bgc = "#90EE90"; // 娴呯豢鑹�
+ this.color = "#000"; // 瀛椾綋棰滆壊锛堝缓璁繁鑹蹭互淇濊瘉瀵规瘮搴︼級
+ break;
default:
break;
}
@@ -100,4 +121,5 @@
public void setColor(String color) {
this.color = color;
}
+
}
--
Gitblit v1.9.1