比如
会报错但是sql语句里 使用 #{type.typeName}一切正常怎么回事是不支持吗???如何判断
<if test="type !=null "> <if test="type.typeName !=null and type.typeName !=''"> </if> </if>
<if test="id != null">需要被判断的SQL语句</if>