Update AbsensiPegawaiService

Perbaikan pengecekan angka nik pegawai
This commit is contained in:
salmanoe 2023-02-27 08:51:06 +07:00
parent 74f90cd46c
commit c4796f568e

View File

@ -336,7 +336,7 @@ public class AbsensiPegawaiServiceImpl extends BaseVoServiceImpl implements Abse
if (CommonUtil.isNotNullOrEmpty(result.get("noIdentitas"))) {
String noIdentitas = result.get("noIdentitas").toString().trim();
try {
Integer.valueOf(noIdentitas);
Long.valueOf(noIdentitas);
result.put("isComplete", true);
} catch (NumberFormatException ex) {
result.put("isComplete", false);