|
@@ -2105,10 +2105,10 @@
|
|
|
AND ipi.company_id = #{query.companyId}
|
|
AND ipi.company_id = #{query.companyId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.contactPersonPhone != null and query.contactPersonPhone != ''">
|
|
<if test="query.contactPersonPhone != null and query.contactPersonPhone != ''">
|
|
|
- AND ipii.contact_person_phone LIKE CONCAT('%', #{query.contactPersonPhone}, '%')
|
|
|
|
|
|
|
+ AND io.docking_person_phone LIKE CONCAT('%', #{query.contactPersonPhone}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="query.contactPerson != null and query.contactPerson != ''">
|
|
<if test="query.contactPerson != null and query.contactPerson != ''">
|
|
|
- AND ipii.contact_person LIKE CONCAT('%', #{query.contactPerson}, '%')
|
|
|
|
|
|
|
+ AND io.docking_person LIKE CONCAT('%', #{query.contactPerson}, '%')
|
|
|
</if>
|
|
</if>
|
|
|
-- 跟单订单创建时间范围
|
|
-- 跟单订单创建时间范围
|
|
|
<if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
|
|
<if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
|