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 != '') ">
上一篇:oracle Caused by: java.io.IOException: Connection reset by peer 出现的问题


下一篇:Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘x