查询语句:
<if test="intoIsPassed != null and intoIsPassed != '' "> and r.into_is_passed = #{intoIsPassed, jdbcType=INTEGER} </if>
数据库内容:java
postman查询条件:数据库
查询结果:post
查询语句:
<if test="intoIsPassed != null "> and r.into_is_passed = #{intoIsPassed, jdbcType=INTEGER} </if>
查询成功!结果为:blog
更改条件:class
至此,结束。test