diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml index 385948e23..81d88703c 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml @@ -643,10 +643,10 @@ #{deptId} - and u.real_name like '%${realName}%' - and u.NICKNAME like '%${nickname}%' - and u.mobile like '%${mobile}%' - and u.identity_no like '%${identityNo}%' + and USER.real_name like '%${realName}%' + and USER.NICKNAME like '%${nickname}%' + and USER.mobile like '%${mobile}%' + and USER.identity_no like '%${identityNo}%' AND (find_in_set(#{streetId},USER.PARENT_DEPT_IDS) OR find_in_set(#{streetId},USER.ALL_DEPT_IDS)) @@ -754,10 +754,10 @@ #{deptId} - and u.real_name like '%${realName}%' - and u.NICKNAME like '%${nickname}%' - and u.mobile like '%${mobile}%' - and u.identity_no like '%${identityNo}%' + and user.real_name like '%${realName}%' + and user.NICKNAME like '%${nickname}%' + and user.mobile like '%${mobile}%' + and user.identity_no like '%${identityNo}%' AND (find_in_set(#{streetId},user.PARENT_DEPT_IDS) @@ -848,10 +848,10 @@ #{deptId} and user.AUTHENTICATED_TYPE is null - and u.real_name like '%${realName}%' - and u.NICKNAME like '%${nickname}%' - and u.mobile like '%${mobile}%' - and u.identity_no like '%${identityNo}%' + and user.real_name like '%${realName}%' + and user.NICKNAME like '%${nickname}%' + and user.mobile like '%${mobile}%' + and user.identity_no like '%${identityNo}%' AND (find_in_set(#{streetId},user.PARENT_DEPT_IDS) @@ -1249,7 +1249,7 @@ epdc_user uu where uu.DEL_FLAG = '0' and DATE_FORMAT(uu.CREATED_TIME,'%Y-%m-%d') between #{startTime} and #{endTime} - and uu.real_name uu '%${realName}%' + and uu.real_name like '%${realName}%' and uu.NICKNAME like '%${nickname}%' and uu.mobile like '%${mobile}%' and uu.identity_no like '%${identityNo}%'