修改企业定时任务bug

main
吴顺杰 2 weeks ago
parent aa8bc1e667
commit fd31e3de88

@ -152,7 +152,9 @@ public class EntQuartz {
List<String> notInMuDuCodeList = wuZhongCodeList.stream()
.filter(code -> !muDuCodeList.contains(code))
.collect(Collectors.toList());
qyjcxxService.updateByTyshxybm(notInMuDuCodeList);
if (CollectionUtil.isNotEmpty(notInMuDuCodeList)) {
qyjcxxService.updateByTyshxybm(notInMuDuCodeList);
}
}
}

Loading…
Cancel
Save