|
@@ -150,7 +150,10 @@ public class KwpLedgerTradeService extends AbsLedger {
|
|
|
|
|
|
|
|
LedgerCountSumVo ledgerCountSumVo = tradeMapper.countSum(tradeReq, status);
|
|
LedgerCountSumVo ledgerCountSumVo = tradeMapper.countSum(tradeReq, status);
|
|
|
LedgerCountSumVo ledgerCountSumVo2 = tradeMapper.countSumMoney(tradeReq, status);
|
|
LedgerCountSumVo ledgerCountSumVo2 = tradeMapper.countSumMoney(tradeReq, status);
|
|
|
- return new LedgerCountSumVo(ledgerCountSumVo2.getTotalPrice(), ledgerCountSumVo.getLedgerCount());
|
|
|
|
|
|
|
+ LedgerCountSumVo res = new LedgerCountSumVo();
|
|
|
|
|
+ res.setLedgerCount(ledgerCountSumVo.getLedgerCount());
|
|
|
|
|
+ res.setTotalPrice(ledgerCountSumVo2.getTotalPrice());
|
|
|
|
|
+ return res;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -185,7 +188,10 @@ public class KwpLedgerTradeService extends AbsLedger {
|
|
|
}};
|
|
}};
|
|
|
LedgerCountSumVo ledgerCountSumVo = tradeMapper.countSum(tradeReq, status);
|
|
LedgerCountSumVo ledgerCountSumVo = tradeMapper.countSum(tradeReq, status);
|
|
|
LedgerCountSumVo ledgerCountSumVo2 = tradeMapper.countSumMoney(tradeReq, status);
|
|
LedgerCountSumVo ledgerCountSumVo2 = tradeMapper.countSumMoney(tradeReq, status);
|
|
|
- return new LedgerCountSumVo(ledgerCountSumVo2.getTotalPrice(), ledgerCountSumVo.getLedgerCount());
|
|
|
|
|
|
|
+ LedgerCountSumVo res = new LedgerCountSumVo();
|
|
|
|
|
+ res.setLedgerCount(ledgerCountSumVo.getLedgerCount());
|
|
|
|
|
+ res.setTotalPrice(ledgerCountSumVo2.getTotalPrice());
|
|
|
|
|
+ return res;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void removeDraft(Long id) {
|
|
private void removeDraft(Long id) {
|