refactor v2

This commit is contained in:
dirgantarasiahaan
2023-05-24 09:31:01 +07:00
parent b49a2425c1
commit 4c500b18f5
3 changed files with 9 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ public class PutUpdateJenisAnggaranService implements BaseService<JenisAnggaranR
jenisAnggaran.setJenisAnggaran(input.getJenisAnggaran());
jenisAnggaran.setKeterangan(input.getKeterangan());
jenisAnggaran.setIsDelete(BooleanUtils.isTrue(input.getIsDelete()));
jenisAnggaran.setUpdatedTime(new Timestamp(System.currentTimeMillis()));
jenisAnggaran.setLastUpdate(new Timestamp(System.currentTimeMillis()));
jenisAnggaranRepository.save(jenisAnggaran);
log.info("Success edit jenis anggaran id {}", jenisAnggaran.getId());
return JenisAnggaranResponse.builder()