mybatis中的<if test="name != null">and a.name=#{name}</if>
Mybatis写SQL能if中套if吗_百度知道
mybatis的<if test>判断标签有没有类似sql的like '%text%'...