Mybatis中根据不一样条件执行不一样sql之test 条件判断

test 条件判断 近期开发过程当中,想在mybatis中根据不一样条件执行不一样的sql,想到了用 <if test="quoteFlag != null and quoteFlag !='' "> sql 语句 <if test="quoteFlag != null and quoteFlag =='2' "> sql 语句 <if test="quoteFlag != null and qu
相关文章
相关标签/搜索