其他分享
首页 > 其他分享> > mybatis if判断

mybatis if判断

作者:互联网

mybatis <if test=" "></if> 判断语句关键字智能用小写,不识别大写

<when test="(unit_number != null and unit_number != '') OR (business_code != null and business_code != '') ">

Caused by: org.apache.ibatis.ognl.ParseException: Encountered " "OR “” at line 1   正确写法: <when test="(unit_number != null and unit_number != '') or  (business_code != null and business_code != '') ">

标签:判断,Caused,Encountered,ibatis,ognl,ParseException,mybatis
来源: https://www.cnblogs.com/wu190819/p/15424081.html