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); + } } }