1.首页排行扣掉退款金额
This commit is contained in:
parent
a0fb0b4ea0
commit
62d3dfbe3f
|
@ -986,7 +986,9 @@ public class EtOrderServiceImpl implements IEtOrderService
|
|||
Long areaId = area.getAreaId();
|
||||
LeaderboardVo leaderboardVo = new LeaderboardVo();
|
||||
leaderboardVo.setOrderCount(etOrderMapper.getOrderNum(startDateStr, endDateStr, areaId));//订单数
|
||||
leaderboardVo.setOrderFee(etOrderMapper.getPayFee(startDateStr, endDateStr, null, areaId));//订单金额
|
||||
BigDecimal payFee = etOrderMapper.getPayFee(startDateStr, endDateStr, null, areaId);
|
||||
BigDecimal refundFee = etOrderMapper.getRefundFee(startDateStr, endDateStr, null, areaId);
|
||||
leaderboardVo.setOrderFee(payFee.subtract(refundFee));//订单金额
|
||||
String inOrderCount = etOrderMapper.getRidingOrder(startDateStr, endDateStr,areaId+"");
|
||||
leaderboardVo.setInProgressOrderCount(Integer.parseInt(inOrderCount));
|
||||
leaderboardVo.setAreaId(areaId);
|
||||
|
|
Loading…
Reference in New Issue
Block a user