MyBatis if test 字符串判断问题

在使用 MyBatis if 进行条件判断时,一直不正确,以下:web <if test="status!= null and status=='OK'"> result = #{result ,jdbcType=VARCHAR} </if> MyBatis是使用的OGNL表达式来进行解析的,改为app <if test='status!= null and status== "OK" '>
相关文章
相关标签/搜索