fix telepon and init lupas

This commit is contained in:
dirgantarasiahaan
2023-05-29 19:19:25 +07:00
parent bab3a7a3d9
commit 431ad60bdb
32 changed files with 328 additions and 47 deletions

View File

@@ -42,7 +42,7 @@ public class CommonService {
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, "Role", input.getId()));
String.format(Constants.ERR_MSG_10001, "Role", input.getRoleId()));
}
var bidang= bidangRepository.findByIdAndIsDeleteFalse(input.getBidangId());
@@ -50,7 +50,7 @@ public class CommonService {
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, "Bidang", input.getId()));
String.format(Constants.ERR_MSG_10001, "Bidang", input.getBidangId()));
}
var instansi= instansiRepository.findByIdAndIsDeleteFalse(input.getInstansiId());
@@ -58,7 +58,7 @@ public class CommonService {
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, "Instansi", input.getId()));
String.format(Constants.ERR_MSG_10001, "Instansi", input.getInstansiId()));
}
}