diff --git a/epdc-cloud-user/src/main/resources/mapper/VolunteerInfoDao.xml b/epdc-cloud-user/src/main/resources/mapper/VolunteerInfoDao.xml index cc604bf..d18c440 100644 --- a/epdc-cloud-user/src/main/resources/mapper/VolunteerInfoDao.xml +++ b/epdc-cloud-user/src/main/resources/mapper/VolunteerInfoDao.xml @@ -56,11 +56,11 @@ epdc_volunteer_info v left join epdc_user u on v.USER_ID = u.ID and u.del_flag = '0' where v.del_flag = '0' and u.id is not null - - and v.REAL_NAME = #{realName} + + and v.REAL_NAME = trim(#{realName}) - - and v.MOBILE = #{mobile} + + and v.MOBILE = trim(#{mobile}) and v.ALL_DEPT_IDS like concat('%',#{deptId},'%')