修改max提出的查询sql不正确的问题

This commit is contained in:
qiankunpingtai
2019-03-18 09:10:56 +08:00
parent 72e088c67a
commit 2e26e41a8d

View File

@@ -11,7 +11,7 @@
select *
FROM jsh_user
where 1=1
and user.status not in('1','2')
and status not in('1','2')
<if test="userName != null">
and username like '%${userName}%'
</if>
@@ -27,7 +27,7 @@
COUNT(id)
FROM jsh_user
WHERE 1=1
and user.status not in('1','2')
and status not in('1','2')
<if test="userName != null">
and username like '%${userName}%'
</if>