mybatis中if标签test等于判断 在mybatis中不等于一般是
在mybatis中不等于一般是
<if test="formNumber != null and formNumber != ''">
而判断等于是
<if test='flag != null and flag == "3"'>
使用==的时候,需要test外层使用 ''单引号,里面的参数使用 ""双引号!
记录一下,因为被阻塞了一下,也是查到csdn的小伙伴的记录解决,感谢一下“程序猿的编程日记”。