diff --git a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/PqReasonableRangeServiceImpl.java b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/PqReasonableRangeServiceImpl.java index 29368fa..c759dc6 100644 --- a/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/PqReasonableRangeServiceImpl.java +++ b/algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/serviceimpl/line/PqReasonableRangeServiceImpl.java @@ -34,7 +34,9 @@ public class PqReasonableRangeServiceImpl extends ServiceImpl getReasonableRangeList(DataCleanParam param) { List result = new ArrayList<>(); LambdaQueryWrapper queryWrapper = new LambdaQueryWrapper<>(); - queryWrapper.eq(PqReasonableRange::getBelongingSystem,param.getSystemType()); + if (StrUtil.isNotBlank(param.getSystemType())) { + queryWrapper.eq(PqReasonableRange::getBelongingSystem,param.getSystemType()); + } if(StrUtil.isNotBlank(param.getDataSource())){ queryWrapper.eq(PqReasonableRange::getDataSource,param.getDataSource()); }