|
@@ -167,6 +167,9 @@
|
|
|
<if test="email !=null and email !=''">
|
|
|
and email like concat('%',#{email},'%')
|
|
|
</if>
|
|
|
+ <if test="senderEmail !=null and senderEmail !=''">
|
|
|
+ and sender_email like concat('%',#{senderEmail},'%')
|
|
|
+ </if>
|
|
|
<if test="emailType !=null">
|
|
|
and email_type = #{emailType}
|
|
|
</if>
|
|
@@ -185,6 +188,9 @@
|
|
|
<if test="email !=null and email !=''">
|
|
|
and email like concat('%',#{email},'%')
|
|
|
</if>
|
|
|
+ <if test="senderEmail !=null and senderEmail !=''">
|
|
|
+ and sender_email like concat('%',#{senderEmail},'%')
|
|
|
+ </if>
|
|
|
<if test="emailType !=null">
|
|
|
and email_type = #{emailType}
|
|
|
</if>
|
|
@@ -202,6 +208,9 @@
|
|
|
<if test="item.email !=null and item.email !=''">
|
|
|
and email like concat('%',#{item.email},'%')
|
|
|
</if>
|
|
|
+ <if test="senderEmail !=null and senderEmail !=''">
|
|
|
+ and sender_email like concat('%',#{senderEmail},'%')
|
|
|
+ </if>
|
|
|
<if test="item.emailType !=null">
|
|
|
and email_type = #{item.emailType}
|
|
|
</if>
|