Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IS NOT NULL parse error #541

Closed
luyf1030 opened this issue Jan 8, 2018 · 1 comment
Closed

IS NOT NULL parse error #541

luyf1030 opened this issue Jan 8, 2018 · 1 comment

Comments

@luyf1030
Copy link

luyf1030 commented Jan 8, 2018

Please answer these questions before submitting your issue. Thanks!

2.0.0

查询条件中出现 is not null 的时候 用limit 0,1,应该最多只能查询一条记录

查询出来的不止一条记录

查询语句里面含有 is not null 判断 limit 0, 1

String sql = "select smUuid, customerId " +

                "from tbl_app_identify_batch_record t1 " +
                "where t1.deliverResult IS Not NULL and validateFlag in(1,2,4,5)  " +
                "and batchId != 0 limit 0, 1";
@haocao haocao self-assigned this Jan 12, 2018
@terrymanu
Copy link
Member

fixed at 2.0.2

@terrymanu terrymanu assigned terrymanu and unassigned haocao Jan 17, 2018
@terrymanu terrymanu changed the title 查询条件含有is not null的时候分页的结果错误 IS NOT NULL parse error Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants