From ecb613da45feb56b1bb3089ea04d13fc7b5d9159 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 18 一月 2025 11:20:09 +0800
Subject: [PATCH] 清除下发确认位后延迟写入

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

diff --git a/src/main/java/com/zy/common/model/MatDto.java b/src/main/java/com/zy/common/model/MatDto.java
index d443b17..900c637 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 lombok.Data;
 
 /**
@@ -26,6 +27,8 @@
     // 鎵规
     private String batch;
 
+    private String locNo;
+
     public MatDto() {
     }
 
@@ -46,7 +49,7 @@
         this.matnr = matNo;
         this.maknx = maknx;
         this.count = count;
-        this.total = Double.valueOf(memo);
+        this.total = Cools.isEmpty(memo) ? 0 : Double.valueOf(memo);
     }
     public MatDto(String matNo, String maknx, Double count,Double total,String specs) {
         this.specs = specs;

--
Gitblit v1.9.1