diff --git a/src/main/resources/mapper_xml/UserMapperEx.xml b/src/main/resources/mapper_xml/UserMapperEx.xml index 1a4c5f70..6e39ff49 100644 --- a/src/main/resources/mapper_xml/UserMapperEx.xml +++ b/src/main/resources/mapper_xml/UserMapperEx.xml @@ -11,7 +11,7 @@ select * FROM jsh_user where 1=1 - and user.status not in('1','2') + and status not in('1','2') and username like '%${userName}%' @@ -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') and username like '%${userName}%'