fix decrypt password

This commit is contained in:
dirgantarasiahaan
2023-05-28 17:36:28 +07:00
parent cab86cf8fa
commit c93f666056
77 changed files with 405 additions and 129 deletions

View File

@@ -28,7 +28,7 @@ public class DeleteLokasiService implements BaseService<LokasiRequest, EmptyResp
.orElseThrow(() -> new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, input.getId())));
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId())));
lokasi.setIsDelete(true);
lokasiRepository.save(lokasi);

View File

@@ -26,7 +26,7 @@ public class GetLokasiByIdService implements BaseService<LokasiRequest, LokasiRe
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, input.getId()));
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId()));
}
lokasiResponse.setLokasi(lokasiView.get().getLokasi());

View File

@@ -29,7 +29,7 @@ public class PostCreateLokasiService implements BaseService<LokasiRequest, Lokas
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10002,
Constants.ERR_TTL_10002,
String.format(Constants.ERR_MSG_10002, input.getLokasi()));
String.format(Constants.ERR_MSG_10002, "Lokasi", input.getLokasi()));
}
Lokasi lokasi = Lokasi.builder()

View File

@@ -30,7 +30,7 @@ public class PutUpdateLokasiService implements BaseService<LokasiRequest, Lokasi
.orElseThrow(() -> new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10001,
Constants.ERR_TTL_10001,
String.format(Constants.ERR_MSG_10001, input.getId())));
String.format(Constants.ERR_MSG_10001, "Lokasi", input.getId())));
lokasi.setLokasi(input.getLokasi());
lokasi.setKeterangan(input.getKeterangan());