|
@@ -216,11 +216,11 @@
|
|
|
AND B.SKU_CODE LIKE CONCAT('%',#{optCd},'%')
|
|
AND B.SKU_CODE LIKE CONCAT('%',#{optCd},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<if test="extmallId != null and extmallId != ''">
|
|
<if test="extmallId != null and extmallId != ''">
|
|
|
- AND A.VENDOR_ID = #{vendorId}
|
|
|
|
|
- AND A.EXTMALL_ID = #{extmallId}
|
|
|
|
|
|
|
+ AND OD.VENDOR_ID = #{vendorId}
|
|
|
|
|
+ AND OD.EXTMALL_ID = #{extmallId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="extmallOrderId != null and extmallOrderId != ''">
|
|
<if test="extmallOrderId != null and extmallOrderId != ''">
|
|
|
- AND A.EXTMALL_ORDER_ID LIKE CONCAT('%',#{extmallOrderId},'%')
|
|
|
|
|
|
|
+ AND OD.EXTMALL_ORDER_ID LIKE CONCAT('%',#{extmallOrderId},'%')
|
|
|
</if>
|
|
</if>
|
|
|
<choose>
|
|
<choose>
|
|
|
<when test="search != null and search != '' and search == 'shoplinkerOrderId'">
|
|
<when test="search != null and search != '' and search == 'shoplinkerOrderId'">
|