|
|
@@ -577,6 +577,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join fs_store_order_item oi on o.id = oi.order_id
|
|
|
left join fs_store_product fsp on fsp.product_id = oi.product_id
|
|
|
</if>
|
|
|
+ <if test = 'maps.orderSource != null and maps.orderSource != "" '>
|
|
|
+ left join fs_store_payment sp on o.id = sp.order_id
|
|
|
+ </if>
|
|
|
+
|
|
|
<where>
|
|
|
<if test = 'maps.orderCode != null and maps.orderCode !="" '>
|
|
|
and o.order_code like CONCAT(#{maps.orderCode},'%')
|
|
|
@@ -599,6 +603,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test = 'maps.phone != null and maps.phone !="" '>
|
|
|
and u.phone like CONCAT(#{maps.phone},'%')
|
|
|
</if>
|
|
|
+ <if test = 'maps.orderSource != null and maps.orderSource != "" '>
|
|
|
+ and sp.app_id =#{maps.orderSource}
|
|
|
+ </if>
|
|
|
<if test = 'maps.userPhone != null and maps.userPhone !="" '>
|
|
|
and o.user_phone like CONCAT(#{maps.userPhone},'%')
|
|
|
</if>
|