mybatis if標籤判斷

mybatis 映射文件中,if標籤判斷字符串相等與否 正確方式 方式一,判斷相等【加.toString()轉換成字符串】 <if test="remark != null and remark != ''and auditidentified =='2'.toString()"> ,refusalreason=#{remark,jdbcType=VARCHAR} </if> 方式二,判斷相等
相關文章
相關標籤/搜索