From 06b612c123fbe56f69536d45633c2c7f428df526 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 14 三月 2024 19:27:07 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/model/LocDto.java |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/common/model/LocDto.java b/src/main/java/com/zy/common/model/LocDto.java
index 970d523..785eb50 100644
--- a/src/main/java/com/zy/common/model/LocDto.java
+++ b/src/main/java/com/zy/common/model/LocDto.java
@@ -1,5 +1,6 @@
 package com.zy.common.model;
 
+import com.core.common.Cools;
 import lombok.Data;
 
 import java.util.List;
@@ -26,7 +27,34 @@
 
     private List<Integer> staNos;
 
+    private List<String> agvStaNos;
+
+    private Integer staNo;
+
+    private String agvStaNo;
+
+    private String specs;
+
+    //閿�鍞鍗曞彿
+    private String csocode;
+
+    //閿�鍞鍗曡鍙�
+    private String isoseq;
+
+    //鏂欑鐮�
+    private String containerCode;
+
     public LocDto() {
+    }
+
+    public LocDto(String locNo, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode) {
+        this.locNo = locNo;
+        this.anfme = anfme;
+        this.matnr = matnr;
+        this.batch = batch;
+        this.csocode = csocode;
+        this.isoseq = isoseq;
+        this.containerCode = containerCode;
     }
 
     public LocDto(String locNo, String matnr, String batch, Double anfme) {
@@ -57,4 +85,18 @@
         return this.matnr + "锛�" + this.maktx + "锛�";
     }
 
+    public void setStaNos(List<Integer> staNos) {
+        this.staNos = staNos;
+        if (!Cools.isEmpty(staNos)) {
+            this.staNo = staNos.get(0);
+        }
+    }
+
+    public void setAgvStaNos(List<String> agvStaNos){
+        this.agvStaNos = agvStaNos;
+        if(!Cools.isEmpty(agvStaNos)){
+            this.agvStaNo = agvStaNos.get(0);
+        }
+    }
+
 }

--
Gitblit v1.9.1