耗材 销售扣除

This commit is contained in:
2024-10-12 17:37:49 +08:00
parent d4cc9deed0
commit 440558c590

View File

@@ -143,7 +143,7 @@
<select id="selectByShopIdAndSkuIdAndProductId" resultMap="BaseResultMap">
select * from tb_prosku_con where product_sku_id=#{skuId} and shop_id=#{shopId} and product_id=#{productId} and status=1
select * from tb_prosku_con where product_sku_id=#{skuId} or product_sku_id='0' and shop_id=#{shopId} and product_id=#{productId} and status=1
</select>
<select id="selectByShopIdAndSkuIdAndProductIdAndCheck" resultMap="BaseResultMap">