| Line 1063... |
Line 1063... |
| 1063 |
|
1063 |
|
| 1064 |
Map<String, Map<String, Double>> lastMonthPurchaseInMapPairMap = lastMonthPurchaseInImeis.stream()
|
1064 |
Map<String, Map<String, Double>> lastMonthPurchaseInMapPairMap = lastMonthPurchaseInImeis.stream()
|
| 1065 |
.collect(Collectors.groupingBy(x -> x.getImei(),
|
1065 |
.collect(Collectors.groupingBy(x -> x.getImei(),
|
| 1066 |
Collectors.groupingBy(x -> x.getDescription(), Collectors.summingDouble(x -> x.getAmount()))));
|
1066 |
Collectors.groupingBy(x -> x.getDescription(), Collectors.summingDouble(x -> x.getAmount()))));
|
| 1067 |
Map<String, LocalDate> imeiPurchaseDateMap = lastMonthPurchaseInImeis.stream().collect(Collectors.toMap(x -> x.getImei(), x -> x.getCreateTimeStamp().toLocalDate(), (x, y) -> x));
|
1067 |
Map<String, LocalDate> imeiPurchaseDateMap = lastMonthPurchaseInImeis.stream().collect(Collectors.toMap(x -> x.getImei(), x -> x.getCreateTimeStamp().toLocalDate(), (x, y) -> x));
|
| 1068 |
Map<String, LocalDate> imeiSaleDateMap = lastMonthFrontEndImeis.stream().collect(Collectors.toMap(x -> x.getImei(), x -> x.getCreated()));
|
- |
|
| 1069 |
LOGGER.info("Last month front end imeis - {}", lastMonthFrontEndImeis);
|
1068 |
LOGGER.info("Last month front end imeis - {}", lastMonthFrontEndImeis);
|
| - |
|
1069 |
Map<String, LocalDate> imeiSaleDateMap = lastMonthFrontEndImeis.stream().collect(Collectors.toMap(x -> x.getImei(), x -> x.getCreated()));
|
| 1070 |
Map<String, Map<String, Double>> lastMonthCreditedMapPairMap = lastMonthCreditedImeis.stream()
|
1070 |
Map<String, Map<String, Double>> lastMonthCreditedMapPairMap = lastMonthCreditedImeis.stream()
|
| 1071 |
.collect(Collectors.groupingBy(x -> x.getImei(),
|
1071 |
.collect(Collectors.groupingBy(x -> x.getImei(),
|
| 1072 |
Collectors.groupingBy(x -> x.getDescription(), Collectors.summingDouble(x -> x.getAmount()))));
|
1072 |
Collectors.groupingBy(x -> x.getDescription(), Collectors.summingDouble(x -> x.getAmount()))));
|
| 1073 |
|
1073 |
|
| 1074 |
// descriptionSet.add("")
|
1074 |
// descriptionSet.add("")
|