|
@@ -28,6 +28,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="uptownId != null and uptownId != ''">
|
|
|
and a.uptown_id = #{uptownId}
|
|
|
</if>
|
|
@@ -96,6 +100,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="uptownId != null and uptownId != ''">
|
|
|
and a.uptown_id = #{uptownId}
|
|
|
</if>
|
|
@@ -140,6 +148,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
and b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -182,6 +194,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
and b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -225,6 +241,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
and b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|
|
@@ -267,6 +287,10 @@
|
|
|
<if test="queryProperties != null and queryProperties != ''">
|
|
|
and b.door_name like concat('%',#{queryProperties},'%')
|
|
|
</if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ and (g.linkman like concat('%',#{phone},'%')
|
|
|
+ or g.phone = #{phone} )
|
|
|
+ </if>
|
|
|
<if test="unitId != null and unitId != ''">
|
|
|
and d.unit_id = #{unitId}
|
|
|
</if>
|