Commit 245548bb by 潘诗林

Revert "fix:产品管理列表查询:供应商为sku查询条件"

This reverts commit 2dcf7750.
1 parent 38edc190
......@@ -771,7 +771,7 @@
</foreach>
</if>
<if test="providerIds != null and providerIds.size() > 0">
and ugpr.provider_id in
and c.provider_id in
<foreach collection="providerIds" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
......@@ -830,7 +830,6 @@
WHERE deleted_flag = 'N'
GROUP BY goods_code) price ON price.goods_code = a.goods_code
left join dj_car_life_upgrade_goods c on c.goods_code = a.goods_code and c.deleted_flag = 'N'
left join dj_car_life_upgrade_goods_provider_ref ugpr on ugpr.upgrade_goods_id = c.id and ugpr.deleted_flag = 'N'
where a.deleted_flag = 'N'
<if test="goodsSource != null">
and b.goods_source = #{goodsSource}
......@@ -839,7 +838,7 @@
and (a.commodity_code = #{commodityCode} or c.commodity_code=#{commodityCode})
</if>
<if test="providerIds != null and providerIds.size() > 0">
and ugpr.provider_id in
and b.provider_id in
<foreach collection="providerIds" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!