diff --git a/src/main/resources/mapper/TbProductMapper.xml b/src/main/resources/mapper/TbProductMapper.xml index 9f5ccfd..e262ffb 100644 --- a/src/main/resources/mapper/TbProductMapper.xml +++ b/src/main/resources/mapper/TbProductMapper.xml @@ -949,7 +949,7 @@ and tb.status = 1 and tb.type_enum != 'group' and sku.is_del = 0 - and sku.is_grounding = 1 + and tb.is_grounding = 1 group by tb.id order by tb.sort asc @@ -964,7 +964,7 @@ and tb.shop_id = #{shopId} and tb.status = 1 and sku.is_del = 0 - and sku.is_grounding = 1 + and tb.is_grounding = 1 and tb.type_enum != 'group' group by tb.id order by tb.sort asc