|
|
|
@ -91,11 +91,11 @@ |
|
|
|
<if test="status != null and status != ''"> |
|
|
|
AND relation.STATUS = #{status} |
|
|
|
</if> |
|
|
|
<if test="mobile != null and mobile != ''"> |
|
|
|
AND relation.MOBILE = #{mobile} |
|
|
|
<if test="mobile != null and mobile.trim() != ''"> |
|
|
|
AND relation.MOBILE = trim(#{mobile}) |
|
|
|
</if> |
|
|
|
<if test="realName != null and realName != ''"> |
|
|
|
AND relation.REAL_NAME = #{realName} |
|
|
|
<if test="realName != null and realName.trim() != ''"> |
|
|
|
AND relation.REAL_NAME = trim(#{realName}) |
|
|
|
</if> |
|
|
|
<if test="actId != null and actId != ''"> |
|
|
|
AND relation.ACT_ID = #{actId} |
|
|
|
@ -167,11 +167,11 @@ |
|
|
|
<if test="status != null and status != ''"> |
|
|
|
AND relation.STATUS = #{status} |
|
|
|
</if> |
|
|
|
<if test="mobile != null and mobile != ''"> |
|
|
|
AND relation.MOBILE = #{mobile} |
|
|
|
<if test="mobile != null and mobile.trim() != ''"> |
|
|
|
AND relation.MOBILE = trim(#{mobile}) |
|
|
|
</if> |
|
|
|
<if test="realName != null and realName != ''"> |
|
|
|
AND relation.REAL_NAME = #{realName} |
|
|
|
<if test="realName != null and realName.trim() != ''"> |
|
|
|
AND relation.REAL_NAME = trim(#{realName}) |
|
|
|
</if> |
|
|
|
<if test="actId != null and actId != ''"> |
|
|
|
AND relation.ACT_ID = #{actId} |
|
|
|
|