订单详情 携带 分类Id
This commit is contained in:
@@ -22,4 +22,10 @@
|
||||
now(), now())
|
||||
</foreach>
|
||||
</insert>
|
||||
<select id="getOrderDetailPrint" resultType="com.czg.order.vo.OrderDetailPrintVo">
|
||||
select detail.*, product.category_id as categoryId
|
||||
from tb_order_detail detail
|
||||
left join tb_product product on product.id = detail.product_id
|
||||
where order_id = #{orderId}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user