From 48d8d31c884712a5dae653bc4c53ed6ae9e5b781 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期日, 12 十一月 2023 17:30:06 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/common/model/LocDto.java | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 50 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 f03977d..3cf862a 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
@@ -13,12 +16,28 @@
private String matnr;
private String maktx;
+ private String model;
+ //瑙勬牸
+ private String specs;
private String batch;
+
+ //鏈ㄧ绫诲瀷
+ private String brand;
+
+ //鎵樼洏鐮�
+ private String zpallet;
private String orderNo;
private Double anfme;
+ private Double count;
+
+ private boolean lack = false;
+
+ private List<Integer> staNos;
+
+ private Integer staNo;
public LocDto() {
}
@@ -28,6 +47,8 @@
this.matnr = matnr;
this.batch = batch;
this.anfme = anfme;
+ this.count = anfme;
+
}
public LocDto(String locNo, String matnr, String batch, String orderNo, Double anfme) {
@@ -36,6 +57,8 @@
this.batch = batch;
this.orderNo = orderNo;
this.anfme = anfme;
+ this.count = anfme;
+
}
public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme) {
@@ -45,10 +68,37 @@
this.batch = batch;
this.orderNo = orderNo;
this.anfme = anfme;
+ this.count = anfme;
+ }
+
+ public LocDto(String locNo, String matnr, String maktx,String model,String specs, String batch,String brand,String zpallet, String orderNo, Double anfme) {
+ this.locNo = locNo;
+ this.matnr = matnr;
+ this.maktx = maktx;
+ this.batch = batch;
+ this.orderNo = orderNo;
+ this.anfme = anfme;
+ this.count = anfme;
+ this.model = model;
+ this.specs = specs;
+ this.brand = brand;
+ this.zpallet = zpallet;
}
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 setAnfme(Double anfme){
+ this.anfme=anfme;
+ this.count=anfme;
+ }
+
}
--
Gitblit v1.9.1