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 DeleteStrategiPengadaanService implements BaseService<StrategiPenga
.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, "Strategi Pengadaan", input.getId())));
strategiPengadaan.setIsDelete(true);
strategiPengadaanRepository.save(strategiPengadaan);

View File

@@ -25,7 +25,7 @@ public class GetStrategiPengadaanByIdService implements BaseService<StrategiPeng
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, "Strategi Pengadaan", input.getId()));
}
return StrategiPengadaanResponse.builder()

View File

@@ -29,7 +29,7 @@ public class PostCreateStrategiPengadaanService implements BaseService<StrategiP
throw new BusinessException(HttpStatus.CONFLICT,
Constants.ERR_CODE_10002,
Constants.ERR_TTL_10002,
String.format(Constants.ERR_MSG_10002, input.getStrategiPengadaan()));
String.format(Constants.ERR_MSG_10002, "Strategi Pengadaan", input.getStrategiPengadaan()));
}
StrategiPengadaan strategiPengadaan = StrategiPengadaan.builder()

View File

@@ -7,12 +7,9 @@ import com.iconplus.smartproc.model.response.StrategiPengadaanResponse;
import com.iconplus.smartproc.repository.StrategiPengadaanRepository;
import com.iconplus.smartproc.util.Constants;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.BooleanUtils;
import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Service;
import java.sql.Timestamp;
@Service
@Slf4j
public class PutUpdateStrategiPengadaanService implements BaseService<StrategiPengadaanRequest, StrategiPengadaanResponse> {
@@ -30,7 +27,7 @@ public class PutUpdateStrategiPengadaanService implements BaseService<StrategiPe
.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, "Strategi Pengadaan", input.getId())));
strategiPengadaan.setStrategiPengadaan(input.getStrategiPengadaan());
strategiPengadaan.setKeterangan(input.getKeterangan());