订单查询返回单价

This commit is contained in:
SongZhang 2024-10-16 18:15:53 +08:00
parent fdc3c1c729
commit e2db8e0a3f
2 changed files with 3 additions and 1 deletions

View File

@ -13,4 +13,5 @@ public class SkuInfoPo {
private BigDecimal priceAmount;
private BigDecimal packAmount;
private String categoryId;
private BigDecimal price;
}

View File

@ -630,7 +630,8 @@ select * from tb_order_info where trade_day = #{day} and table_id = #{masterId}
d.product_sku_name AS productSkuName,
'' AS categoryId,
d.price_amount as priceAmount,
d.pack_amount as packAmount
d.pack_amount as packAmount,
d.price as price
FROM
tb_order_detail d
where d.order_id=#{orderId}