src/main/java/com/yssh/service/impl/WarningAnalyseServiceImpl.java
@@ -363,7 +363,12 @@ } List<String> tables = new ArrayList<>(); for (DictRecord dr : dictList) { tables.add(dr.getTableName()); if(suYuanMapper.isTableExists(dr.getTableName())>0) { tables.add(dr.getTableName()); } } if (tables.size()==0){ return list; } for (String tab : tables) { @@ -372,7 +377,6 @@ list.add(new WarningVo(s.getLocationName(), s.getSuYuanId(), 0.0, 0.0, s.getValue())); } } for (String tab : tables) { List<WarningDetail> warnList = getWarnByTime(tab, ids); for (WarningDetail s : warnList) {