|
@@ -33,6 +33,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="uptownId != null and uptownId != ''">
|
|
|
and a.uptown_id = #{uptownId}
|
|
|
</if>
|
|
@@ -106,6 +109,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="uptownId != null and uptownId != ''">
|
|
|
and a.uptown_id = #{uptownId}
|
|
|
</if>
|
|
@@ -155,6 +161,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -202,6 +211,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -250,6 +262,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -297,6 +312,9 @@
|
|
|
and (g.linkman like concat('%',#{phone},'%')
|
|
|
or g.phone = #{phone} )
|
|
|
</if>
|
|
|
+ <if test="errorInfo != null and errorInfo != ''">
|
|
|
+ and c.error_info like concat('%',#{errorInfo},'%')
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|