Update LogbookKinerjaServiceImpl.java
Perbaikan iterasi 1 tahun dari custom parameter bulan untuk hitung skor dokter bulanan
This commit is contained in:
parent
1259675094
commit
c481eb90ee
@ -3297,7 +3297,8 @@ public class LogbookKinerjaServiceImpl extends BaseVoServiceImpl implements Logb
|
||||
byte hitungTargetId = 1;
|
||||
java.time.LocalDate startDate = java.time.LocalDate.parse(bulanAwal + "-01");
|
||||
java.time.LocalDate endDate = java.time.LocalDate.parse(bulanAkhir + "-01");
|
||||
for (java.time.LocalDate date = startDate; date.isBefore(endDate); date = date.plusMonths(1)) {
|
||||
for (java.time.LocalDate date = startDate; date.isBefore(endDate)
|
||||
|| date.equals(endDate); date = date.plusMonths(1)) {
|
||||
List<SkorDokterVO> listRs = hitungSkorDokter(mf.parse(date.format(smf)), hitungTargetId);
|
||||
result.addAll(listRs);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user