Update PegawaiJadwalKerjaService
Perbaikan validasi data pegawai null saat import excel jadwal dinas pegawai
This commit is contained in:
parent
eccd329ad6
commit
9298007c7c
@ -289,7 +289,8 @@ public class PegawaiJadwalKerjaServiceImpl extends BaseVoServiceImpl implements
|
||||
if (!listKdShift.contains(xvo.getKdShift())) {
|
||||
listKdShift.add(xvo.getKdShift().toLowerCase());
|
||||
}
|
||||
if (!listIdPegawai.contains(xvo.getPegawai().getId())) {
|
||||
if (CommonUtil.isNotNullOrEmpty(xvo.getPegawai()) && CommonUtil.isNotNullOrEmpty(xvo.getPegawai().getId())
|
||||
&& !listIdPegawai.contains(xvo.getPegawai().getId())) {
|
||||
listIdPegawai.add(xvo.getPegawai().getId());
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user