This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Description
最后我获得的statment:
select * from test.nation where 1=1
AND n_nationkey = ?
-- if(n_nationkey != null and n_nationkey !='')
AND n_regionkey = ?
-- if(n_regionkey != null and n_regionkey !='')
但是我传入的参数是n_nationkey=None,
AND n_nationkey = ?这个条件不想要。请教如何传参数呢?
我的py代码:
statement = mybatis_mapper2sql.get_child_statement(mapper, "testIf",n_nationkey=None)
我的xml:
