Commit 0a10eaf4 by 陶光胜

取数平台null筛选过滤

parent a9bbc977
...@@ -320,7 +320,9 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService { ...@@ -320,7 +320,9 @@ public class FlatQueryResultServiceImpl implements IFlatQueryResultService {
log.debug("自助指标字段过滤请求:", sql); log.debug("自助指标字段过滤请求:", sql);
ResultSet rs = stat.executeQuery(sql); ResultSet rs = stat.executeQuery(sql);
while (rs.next()) { while (rs.next()) {
if(rs.getObject(fieldName) != null){
result.add(rs.getObject(fieldName)); result.add(rs.getObject(fieldName));
}
} // WHILE OVER } // WHILE OVER
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment