|
@@ -1327,10 +1327,10 @@
|
|
t1.purchase_id = t2.purchase_id
|
|
t1.purchase_id = t2.purchase_id
|
|
AND t1.company_wechat_id = #{companyWechatId}
|
|
AND t1.company_wechat_id = #{companyWechatId}
|
|
<if test="websitId != null and websitId != ''">
|
|
<if test="websitId != null and websitId != ''">
|
|
- AND a.websit_id = #{websitId}
|
|
|
|
|
|
+ AND t1.websit_id = #{websitId}
|
|
</if>
|
|
</if>
|
|
<if test="websitId == null and websits != null and websits.size > 0">
|
|
<if test="websitId == null and websits != null and websits.size > 0">
|
|
- AND a.websit_id IN
|
|
|
|
|
|
+ AND t1.websit_id IN
|
|
<foreach item="item" index="index" collection="websits" open="(" separator=","
|
|
<foreach item="item" index="index" collection="websits" open="(" separator=","
|
|
close=")">
|
|
close=")">
|
|
#{item}
|
|
#{item}
|