1.耗材check值错误修复

This commit is contained in:
2024-08-17 15:00:46 +08:00
parent cee4643925
commit 61157d730c
3 changed files with 4 additions and 4 deletions

View File

@@ -126,7 +126,7 @@
<select id="selectBySkuIdAndShopIdAngCheck" resultMap="BaseResultMap">
select a.* from tb_prosku_con as a
left join tb_cons_info as b on a.con_info_id=b.id
where a.product_sku_id=#{skuId} and a.shop_id=#{shopId} and a.status=1 and b.is_check=0
where a.product_sku_id=#{skuId} and a.shop_id=#{shopId} and a.status=1 and b.is_check=1
</select>
<select id="selectIdBySkuIdAndShopId" resultType="java.lang.Integer">