Added debug logs
This commit is contained in:
parent
45ca5f4440
commit
e70f07b04b
1 changed files with 2 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ public class FlagsService {
|
||||||
* @param flag90Days - рещультирующая мапа флагов просрочек 90_days
|
* @param flag90Days - рещультирующая мапа флагов просрочек 90_days
|
||||||
*/
|
*/
|
||||||
private void findFlagsRuPaymt(List<Integer> fids, Map<Integer, Integer> flag90Days) {
|
private void findFlagsRuPaymt(List<Integer> fids, Map<Integer, Integer> flag90Days) {
|
||||||
|
log.debug("Start calculating flag 90 days by RU_PAPAYMT");
|
||||||
LocalDate yearAgo = LocalDate.now().minusYears(1);
|
LocalDate yearAgo = LocalDate.now().minusYears(1);
|
||||||
List<RuPaymtData> ruPaymtDataList = mapper.findRuPaymtData(fids, yearAgo);
|
List<RuPaymtData> ruPaymtDataList = mapper.findRuPaymtData(fids, yearAgo);
|
||||||
ruPaymtDataList.sort(Comparator.comparing(RuPaymtData::getFid, Comparator.naturalOrder()));
|
ruPaymtDataList.sort(Comparator.comparing(RuPaymtData::getFid, Comparator.naturalOrder()));
|
||||||
|
|
@ -171,6 +172,7 @@ public class FlagsService {
|
||||||
}
|
}
|
||||||
flag90Days.putIfAbsent(fid, 0);
|
flag90Days.putIfAbsent(fid, 0);
|
||||||
}
|
}
|
||||||
|
log.debug("Complete calculating flag 90 days by RU_PAPAYMT");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue