From 0b6c8b7687ff593d254cfcacacf72a75bfdf11ca Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期二, 24 六月 2025 08:20:36 +0800
Subject: [PATCH] #限制线体上托盘数量

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

diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java
index 6194887..b78e622 100644
--- a/src/main/java/com/zy/common/model/MatDto.java
+++ b/src/main/java/com/zy/common/model/MatDto.java
@@ -1,5 +1,6 @@
 package com.zy.common.model;
 
+import com.core.common.Cools;
 import com.zy.asrs.entity.WrkDetl;
 import lombok.Data;
 
@@ -57,6 +58,9 @@
         this.specs = wrkDetl.getSpecs();
         this.batch = wrkDetl.getBatch();
         this.model = wrkDetl.getModel();
+        if (Cools.isEmpty(wrkDetl.getPrice())){
+            wrkDetl.setPrice(0.0);
+        }
         this.price = wrkDetl.getPrice().toString();
 //        this.juanNo = wrkDetl.getSku();
         this.count = wrkDetl.getAnfme();

--
Gitblit v1.9.1