mybatis if判断等于某个字符,抛 java.lang.NumberFormatException: For input string: "XXX"
错误的写法:<if test="isNotice != null and isNotice eq 'Y'">
错误的写法:<if test="isNotice != null and isNotice == 'Y'">
正确的写法:<if test="isNotice != null and isNotice eq 'Y'.toString()">

浙公网安备 33010602011771号