Update IkiDanRemunerasiServiceImpl.java

Perbaikan setting capaian maret 2019 - februari 2020 sebagai acuan target skor dokter 2022
This commit is contained in:
salmanoersabhk 2022-09-22 13:58:05 +07:00
parent fdc0c3cb2b
commit 1259675094

View File

@ -513,8 +513,8 @@ public class IkiDanRemunerasiServiceImpl extends BaseVoServiceImpl implements Ik
LocalDate firstDate = now.minusYears(1).withMonth(1);
LocalDate lastDate = now.minusYears(1).withMonth(12);
if (now.getYear() == 2022) {
firstDate = now.withYear(2019).withMonth(5);
lastDate = now.withYear(2020).withMonth(4);
firstDate = now.withYear(2019).withMonth(3);
lastDate = now.withYear(2020).withMonth(2);
}
String bulanAwal = firstDate.getYear() + "-"
+ (firstDate.getMonthValue() < 10 ? "0" + firstDate.getMonthValue() : firstDate.getMonthValue());