From 984039880e1f6ccc4cb61c35e0004147aa46d5bc Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 21 九月 2024 11:20:39 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/common/model/LocDto.java | 71 +++++++++++++++++++++++++++++++++++
1 files changed, 71 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 c3d1805..38c5d0c 100644
--- a/src/main/java/com/zy/common/model/LocDto.java
+++ b/src/main/java/com/zy/common/model/LocDto.java
@@ -1,6 +1,9 @@
package com.zy.common.model;
+import com.core.common.Cools;
import lombok.Data;
+
+import java.util.List;
/**
* Created by vincent on 2022/3/28
@@ -22,7 +25,50 @@
private boolean lack = false;
+ 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;
+
+ // 宸ュ簭鐘舵�� 1锛氬緟鍔犲伐锛�2锛氬凡鍔犲伐锛�3锛氭棤闇�鍔犲伐
+ private Integer processSts;
+
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, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode,Integer processSts) {
+ this.locNo = locNo;
+ this.anfme = anfme;
+ this.matnr = matnr;
+ this.batch = batch;
+ this.csocode = csocode;
+ this.isoseq = isoseq;
+ this.containerCode = containerCode;
+ this.processSts = processSts;
}
public LocDto(String locNo, String matnr, String batch, Double anfme) {
@@ -49,8 +95,33 @@
this.anfme = anfme;
}
+
+ public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme,Integer processSts) {
+ this.locNo = locNo;
+ this.matnr = matnr;
+ this.maktx = maktx;
+ this.batch = batch;
+ this.orderNo = orderNo;
+ this.anfme = anfme;
+ this.processSts = processSts;
+ }
+
public String getTitle() {
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