Commit 0df30567 by 陶光胜

报表中心

parent cecd0a32
......@@ -193,11 +193,11 @@ public class HiveDataDownloadApiServiceImpl implements HiveDataDownloadApiServic
StringBuffer sql = new StringBuffer(" select ");
int index = 1;
for(HiveQueryCondition condition: queryConditionList){
index++;
sql.append(condition.getFieldName()).append(" as `").append(condition.getFieldMark()).append("`");
if(index < queryConditionList.size()){
sql.append(",");
}
index++;
}
sql.append(" from ").append(tableName);
sql.append(" where 1=1 ");
......
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