fix decrypt password
This commit is contained in:
@ -28,7 +28,7 @@ public class DeleteMetodePenyampaianService implements BaseService<MetodePenyamp
|
||||
.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, "Metode Penyampaian", input.getId())));
|
||||
|
||||
metodePenyampaian.setIsDelete(true);
|
||||
metodePenyampaianRepository.save(metodePenyampaian);
|
||||
|
@ -25,7 +25,7 @@ public class GetMetodePenyampaianByIdService implements BaseService<MetodePenyam
|
||||
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, "Metode Penyampaian", input.getId()));
|
||||
}
|
||||
|
||||
return MetodePenyampaianResponse.builder()
|
||||
|
@ -29,7 +29,7 @@ public class PostCreateMetodePenyampaianService implements BaseService<MetodePen
|
||||
throw new BusinessException(HttpStatus.CONFLICT,
|
||||
Constants.ERR_CODE_10002,
|
||||
Constants.ERR_TTL_10002,
|
||||
String.format(Constants.ERR_MSG_10002, input.getMetodePenyampaian()));
|
||||
String.format(Constants.ERR_MSG_10002, "Metode Penyampaian", input.getMetodePenyampaian()));
|
||||
}
|
||||
|
||||
MetodePenyampaian metodePenyampaian = MetodePenyampaian.builder()
|
||||
|
@ -7,12 +7,9 @@ import com.iconplus.smartproc.model.response.MetodePenyampaianResponse;
|
||||
import com.iconplus.smartproc.repository.MetodePenyampaianRepository;
|
||||
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 PutUpdateMetodePenyampaianService implements BaseService<MetodePenyampaianRequest, MetodePenyampaianResponse> {
|
||||
@ -30,7 +27,7 @@ public class PutUpdateMetodePenyampaianService implements BaseService<MetodePeny
|
||||
.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, "Metode Penyampaian", input.getId())));
|
||||
|
||||
metodePenyampaian.setMetodePenyampaian(input.getMetodePenyampaian());
|
||||
metodePenyampaian.setKeterangan(input.getKeterangan());
|
||||
|
Reference in New Issue
Block a user