Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
982aab3108
|
|
@ -247,9 +247,12 @@
|
||||||
from tb_product as a
|
from tb_product as a
|
||||||
left join tb_prod_sku as b on a.id = b.product_id
|
left join tb_prod_sku as b on a.id = b.product_id
|
||||||
where a.shop_id = #{shopId}
|
where a.shop_id = #{shopId}
|
||||||
|
<if test="productIds != null">
|
||||||
|
and a.id in
|
||||||
<foreach collection="productIds" item="id" open="(" close=")" separator=",">
|
<foreach collection="productIds" item="id" open="(" close=")" separator=",">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
</if>
|
||||||
GROUP BY a.id
|
GROUP BY a.id
|
||||||
</select>
|
</select>
|
||||||
<update id="updateProductStockNum">
|
<update id="updateProductStockNum">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue