|
|
@ -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 |
|
|
|
<if test="realName !='' and realName != null"> |
|
|
|
and v.REAL_NAME = #{realName} |
|
|
|
<if test="realName !='' and realName.trim() != null"> |
|
|
|
and v.REAL_NAME = trim(#{realName}) |
|
|
|
</if> |
|
|
|
<if test="mobile !='' and mobile != null"> |
|
|
|
and v.MOBILE = #{mobile} |
|
|
|
<if test="mobile !='' and mobile.trim() != null"> |
|
|
|
and v.MOBILE = trim(#{mobile}) |
|
|
|
</if> |
|
|
|
<if test="deptId !='' and deptId != null"> |
|
|
|
and v.ALL_DEPT_IDS like concat('%',#{deptId},'%') |
|
|
|