在编写xml代码if语句时注意不要加额外的空格,如! =之间不能加空格会导致报错:
Caused by: org.apache.ibatis.builder.BuilderException: Error evaluating expression 'number != null and number ! = '''. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: number != null and number ! = '' [org.apache.ibatis.ognl.ParseException: Encountered " "!" "! "" at line 1, column 27.
expression: number != null and number ! = ‘‘
最新推荐文章于 2025-12-02 18:57:44 发布
2万+

被折叠的 条评论
为什么被折叠?



