Commit 4c8bd2a5 by 章家宝

feat:订单数据填充优惠券信息

1 parent f19c90bf
......@@ -119,7 +119,9 @@ public class AuctionOrderService extends AbstractAuctionService {
}
public List<AuctionOrder> getAuctionOrdersByVehicleId(int vehicleId) {
return auctionOrderDao.findByVehicle_VehicleIdOrderByCreateTimeDesc(vehicleId);
List<AuctionOrder> orderList = auctionOrderDao.findByVehicle_VehicleIdOrderByCreateTimeDesc(vehicleId);
fillCouponInfo(orderList);
return orderList;
}
public double getSumOrderPriceByAuctionId(int auctionId) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!