[mybatis错误]-sql出错org.l.Parse。。。
完整异常:Caused by: org.apache.ibatis.builder.BuilderException: Error evaluating expression 'developerType ! = '''. Cause: org.l.ExpressionSyntaxException: Malformed OGNL expression: developerType ! = '' [org.apache.iba Was expecting one of:
<EOF>
"," ...
"=" ...
"?" ...
"||" ...
"or" ...
"&&" ...
"and" ...
"|" ...
"bor" ...
"^" ...
"xor" ...
"&" ...
"band" ...
"==" ...
"eq" ...
"!=" ...
"neq" ...
"<" ...
"lt" ...error parse new
">" ...
"gt" ...
"<=" ...
"lte" ...
">=" ...
"gte" ...
"in" ...
"not" ...
"<<" ...
"shl" ...
">>" ...
"shr" ...
">>>" ...
"ushr" ...
"+" ...
"-" ...
"*" ...
"/" ...
"%" ...
"instanceof" ...
"." ...
"(" ...
"[" ...
<DYNAMIC_SUBSCRIPT> ...
]
这种问题出现在字段 != null and 字段 != ''
错误写为了字段 != null and != '', 缺少and后⾯的字段.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论