提交 fcefd889 编写于 作者: C cpwu

fix case

上级 30efd647
...@@ -132,18 +132,18 @@ class TDTestCase: ...@@ -132,18 +132,18 @@ class TDTestCase:
having_claus = self.__group_condition( col=select_claus, having=f"{select_claus} is not null" ) having_claus = self.__group_condition( col=select_claus, having=f"{select_claus} is not null" )
sqls.extend( sqls.extend(
( (
self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus, group_claus), # self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus, group_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus, having_claus), self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus, having_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus), self.__gen_sql(select_claus, self.__join_condition(join_tblist), where_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist), group_claus), # self.__gen_sql(select_claus, self.__join_condition(join_tblist), group_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist), having_claus), self.__gen_sql(select_claus, self.__join_condition(join_tblist), having_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist)), self.__gen_sql(select_claus, self.__join_condition(join_tblist)),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, group_claus), # self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, group_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, having_claus), self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, having_claus),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, ), self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), where_claus, ),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), having_claus ), self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), having_claus ),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), group_claus ), # self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), group_claus ),
self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True), ), self.__gen_sql(select_claus, self.__join_condition(join_tblist, INNER=True) ),
) )
) )
return list(filter(None, sqls)) return list(filter(None, sqls))
......
...@@ -152,7 +152,7 @@ class TDTestCase: ...@@ -152,7 +152,7 @@ class TDTestCase:
having_claus = self.__group_condition(col=select_claus, having=f"{select_claus} is not null") having_claus = self.__group_condition(col=select_claus, having=f"{select_claus} is not null")
sqls.extend( sqls.extend(
( (
self.__single_sql(select_claus, join_tb, where_claus, having_claus), self.__single_sql(select_claus, tb, where_claus, having_claus),
) )
) )
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册