mybatis if标签判断

mybatis 映射文件中,if标签判断字符串相等与否 正确方式 方式一,判断相等【加.toString()转换成字符串】 <if test="remark != null and remark != ''and auditidentified =='2'.toString()"> ,refusalreason=#{remark,jdbcType=VARCHAR} </if> 方式二,判断相等
相关文章
相关标签/搜索