From fd31e3de884abf4548a7f89775b6989864c7d2ad Mon Sep 17 00:00:00 2001 From: wu Date: Wed, 30 Oct 2024 10:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=81=E4=B8=9A=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/mudu/quartz/EntQuartz.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/mudu/quartz/EntQuartz.java b/src/main/java/com/mudu/quartz/EntQuartz.java index 73cd5db..8943c21 100644 --- a/src/main/java/com/mudu/quartz/EntQuartz.java +++ b/src/main/java/com/mudu/quartz/EntQuartz.java @@ -152,7 +152,9 @@ public class EntQuartz { List notInMuDuCodeList = wuZhongCodeList.stream() .filter(code -> !muDuCodeList.contains(code)) .collect(Collectors.toList()); - qyjcxxService.updateByTyshxybm(notInMuDuCodeList); + if (CollectionUtil.isNotEmpty(notInMuDuCodeList)) { + qyjcxxService.updateByTyshxybm(notInMuDuCodeList); + } } }