提交 f6d3f059 编写于 作者: C cpwu

fix case

上级 5fe7882a
......@@ -56,7 +56,7 @@ class TDTestCase:
where_condition = self.__where_condition(condition)
group_condition = self.__group_condition(condition, having=f"{condition} is not null " )
tdSql.query(f"select {condition} from {tbname} {where_condition} {group_condition} ")
tdSql.query(f"select {condition} from {tbname} {where_condition} ")
datas = [tdSql.getData(i,0) for i in range(tdSql.queryRows)]
sum_data = sum(datas)
tdSql.query(f"select sum( {condition} ) from {tbname} {where_condition} ")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册