From 541343ce5f5a3c438875f26418957360f779c004 Mon Sep 17 00:00:00 2001
From: bfwms <1>
Date: 星期五, 27 六月 2025 15:03:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/bfasrs6' into bfasrs6

---
 src/main/java/com/zy/asrs/controller/MatController.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/MatController.java b/src/main/java/com/zy/asrs/controller/MatController.java
index 2d12e18..bc0e15f 100644
--- a/src/main/java/com/zy/asrs/controller/MatController.java
+++ b/src/main/java/com/zy/asrs/controller/MatController.java
@@ -273,6 +273,9 @@
         List<MatPrint> res = new ArrayList<>();
         for (String matnr : param){
             Mat mat = matService.selectByMatnr(matnr);
+            if(Cools.isEmpty(mat)) {
+                continue;
+            }
             // 鎵撳嵃鏁版嵁娉ㄥ叆
             MatPrint print = new MatPrint();
             print.setMatnr(mat.getMatnr());

--
Gitblit v1.9.1