摘要:
当MyBatis 判断条件为等于的时候,常量需要加 .toString() 来转换,这种方法是稳定的,推荐使用,比如: <!-- 正确的,稳定,推荐使用 --> <if test="newsImage != null and newsImage == '1'.toString()"> <![CDAT 阅读全文
posted @ 2020-08-21 17:01
rearboal
阅读(3339)
评论(0)
推荐(0)
浙公网安备 33010602011771号