|
@@ -121,6 +121,9 @@
|
|
|
<if test="hpUser!=null and hpUser.endCreateDate != null ">
|
|
<if test="hpUser!=null and hpUser.endCreateDate != null ">
|
|
|
AND DATE_SUB(a.create_date, INTERVAL 1 DAY) < date(#{hpUser.endCreateDate})
|
|
AND DATE_SUB(a.create_date, INTERVAL 1 DAY) < date(#{hpUser.endCreateDate})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="realName != null and realName != ''">
|
|
|
|
|
+ AND a.real_name = #{realName}
|
|
|
|
|
+ </if>
|
|
|
<if test="phone != null and phone != ''">
|
|
<if test="phone != null and phone != ''">
|
|
|
AND a.phone LIKE
|
|
AND a.phone LIKE
|
|
|
<if test="dbName == 'oracle'">'%'||#{phone}||'%'</if>
|
|
<if test="dbName == 'oracle'">'%'||#{phone}||'%'</if>
|
|
@@ -174,6 +177,9 @@
|
|
|
<if test="hpUser!=null and hpUser.endCreateDate != null ">
|
|
<if test="hpUser!=null and hpUser.endCreateDate != null ">
|
|
|
AND DATE_SUB(a.create_date, INTERVAL 1 DAY) < date(#{hpUser.endCreateDate})
|
|
AND DATE_SUB(a.create_date, INTERVAL 1 DAY) < date(#{hpUser.endCreateDate})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="realName != null and realName != ''">
|
|
|
|
|
+ AND a.real_name = #{realName}
|
|
|
|
|
+ </if>
|
|
|
<if test="phone != null and phone != ''">
|
|
<if test="phone != null and phone != ''">
|
|
|
AND a.phone LIKE
|
|
AND a.phone LIKE
|
|
|
<if test="dbName == 'oracle'">'%'||#{phone}||'%'</if>
|
|
<if test="dbName == 'oracle'">'%'||#{phone}||'%'</if>
|