Update AbsensiPegawaiService
Perbaikan pengecekan angka nik pegawai
This commit is contained in:
parent
74f90cd46c
commit
c4796f568e
@ -336,7 +336,7 @@ public class AbsensiPegawaiServiceImpl extends BaseVoServiceImpl implements Abse
|
|||||||
if (CommonUtil.isNotNullOrEmpty(result.get("noIdentitas"))) {
|
if (CommonUtil.isNotNullOrEmpty(result.get("noIdentitas"))) {
|
||||||
String noIdentitas = result.get("noIdentitas").toString().trim();
|
String noIdentitas = result.get("noIdentitas").toString().trim();
|
||||||
try {
|
try {
|
||||||
Integer.valueOf(noIdentitas);
|
Long.valueOf(noIdentitas);
|
||||||
result.put("isComplete", true);
|
result.put("isComplete", true);
|
||||||
} catch (NumberFormatException ex) {
|
} catch (NumberFormatException ex) {
|
||||||
result.put("isComplete", false);
|
result.put("isComplete", false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user