From ad9e95343ccec55d45d73d9e814b7c68ac38e9ca Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 05 八月 2025 10:55:11 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/common/model/LocDto.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 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 3a31a61..4dd1a6f 100644
--- a/src/main/java/com/zy/common/model/LocDto.java
+++ b/src/main/java/com/zy/common/model/LocDto.java
@@ -1,6 +1,7 @@
 package com.zy.common.model;
 
 import com.core.common.Cools;
+import com.zy.asrs.entity.LocDetl;
 import lombok.Data;
 
 import java.util.List;
@@ -36,6 +37,8 @@
     private Double anfme;
     private Double count;
     private Double weight;
+    private Double volume;
+    private Double price;
 
     private boolean lack = false;
 
@@ -44,6 +47,8 @@
     private Integer staNo;
     private Integer tkType;
 
+    private String unit;
+    private String threeCode;
     public LocDto() {
     }
 
@@ -90,6 +95,26 @@
         this.zpallet = zpallet;
     }
 
+    public LocDto(LocDetl locDetl) {
+        this.locNo = locDetl.getLocNo();
+        this.matnr = locDetl.getMatnr();
+        this.maktx = locDetl.getMaktx();
+        this.batch = locDetl.getBatch();
+        this.orderNo = locDetl.getOrderNo();
+        this.anfme = locDetl.getAnfme();
+        this.count = locDetl.getAnfme();
+        this.model = locDetl.getModel();
+        this.specs = locDetl.getSpecs();
+        this.brand = locDetl.getBrand();
+        this.zpallet = locDetl.getZpallet();
+        this.weight = locDetl.getWeight();
+        this.volume = locDetl.getVolume();
+        this.price = locDetl.getPrice();
+        this.origin = locDetl.getOrigin();
+        this.unit = locDetl.getUnit();
+        this.threeCode = locDetl.getThreeCode();
+    }
+
     public String getTitle() {
         return this.matnr + "锛�" + this.maktx + "锛�";
     }

--
Gitblit v1.9.1