|
|
@ -74,7 +74,7 @@ public class TicketInfoAllClient implements ITicketInfoAllClient { |
|
|
|
int completeNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoCompleteNum).sum(); |
|
|
|
int completeNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoCompleteNum).sum(); |
|
|
|
int invalidatedNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoInvalidatedNum).sum(); |
|
|
|
int invalidatedNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoInvalidatedNum).sum(); |
|
|
|
int qualifiedNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoQualifiedNum).sum(); |
|
|
|
int qualifiedNum = workTicketStatistic.stream().mapToInt(TicketInfoStatisticVO::getTicketInfoQualifiedNum).sum(); |
|
|
|
Double proportion = new BigDecimal(qualifiedNum).divide(new BigDecimal(sum),2, RoundingMode.UP) |
|
|
|
Double proportion = new BigDecimal(qualifiedNum).divide(new BigDecimal(sum),4, RoundingMode.UP) |
|
|
|
.multiply(new BigDecimal(100)).setScale(2, RoundingMode.UP).doubleValue(); |
|
|
|
.multiply(new BigDecimal(100)).setScale(2, RoundingMode.UP).doubleValue(); |
|
|
|
ticketInfoStatisticVO.setTicketInfoNumber(sum); |
|
|
|
ticketInfoStatisticVO.setTicketInfoNumber(sum); |
|
|
|
ticketInfoStatisticVO.setTicketInfoCompleteNum(completeNum); |
|
|
|
ticketInfoStatisticVO.setTicketInfoCompleteNum(completeNum); |
|
|
|