dev798
parent
1f6c718fed
commit
3febf38dc4
|
@ -127,17 +127,6 @@
|
|||
type_name
|
||||
FROM
|
||||
t_product p
|
||||
LEFT JOIN t_product_brand pb ON p.brand_id = pb.id
|
||||
LEFT JOIN t_product_category pc ON p.category_id = pc.id
|
||||
LEFT JOIN t_product_images pi ON pi.product_id =p.id
|
||||
LEFT JOIN t_product_service_middle psm ON p.id = psm.product_id
|
||||
LEFT JOIN t_product_service psr ON psm.service_id = psr.id
|
||||
LEFT JOIN t_product_sku ps ON ps.product_id = p.id
|
||||
LEFT JOIN t_product_sku_attr psa ON psa.sku_id = ps.id
|
||||
LEFT JOIN t_product_type pt ON pt.id = p.type_id
|
||||
where p.id = #{id}
|
||||
GROUP BY
|
||||
p.id
|
||||
</select>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue