You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
这个测试mapper
生成的sql:
SELECT
count(*)
from inspection
yn = 1
and (inspection_type = 40 inspection_type = 60)
您的意思应该是:如果最前面有and 或者or 就删掉
但是如果:prefix_overrides='and|or'
生成的sql里面: 后面的 or 就会被删掉
改为:prefix_overrides='(and|or)' 就好了
欢迎校验。对正则不是很了解,可能无解大神的意思。
The text was updated successfully, but these errors were encountered: