Update service log catatan kinerja
Rollback pembuatan parameter pencarian saat monitoring log verifikasi catatan kinerja
This commit is contained in:
parent
502d68b47a
commit
5c433e703e
@ -14,6 +14,6 @@ public interface LogbookKinerjaDetailLogService {
|
||||
|
||||
void save(LogbookKinerjaDetailLogReqDto dto);
|
||||
|
||||
Page<LogbookKinerjaDetailLogDto> list(String search, Pageable pageable);
|
||||
Page<LogbookKinerjaDetailLogDto> list(Pageable pageable);
|
||||
|
||||
}
|
||||
|
||||
@ -67,9 +67,8 @@ public class LogbookKinerjaDetailLogServiceImpl implements LogbookKinerjaDetailL
|
||||
}
|
||||
|
||||
@Override
|
||||
public Page<LogbookKinerjaDetailLogDto> list(String search, Pageable pageable) {
|
||||
Page<LogbookKinerjaDetailLog> logPage = logbookKinerjaDetailLogDao.findBySearchQuery(search.toLowerCase(),
|
||||
pageable);
|
||||
public Page<LogbookKinerjaDetailLogDto> list(Pageable pageable) {
|
||||
Page<LogbookKinerjaDetailLog> logPage = logbookKinerjaDetailLogDao.findAll(pageable);
|
||||
List<LogbookKinerjaDetailLogDto> dtoList = new ArrayList<>();
|
||||
logPage.getContent().forEach(log -> {
|
||||
LogbookKinerjaDetailLogDto.LogbookKinerjaDetailLogDtoBuilder dtoBuilder = LogbookKinerjaDetailLogDto
|
||||
|
||||
@ -2858,11 +2858,10 @@ public class IkiDanRemunerasiController extends LocaleController<IkiDanRemuneras
|
||||
|
||||
@RequestMapping(value = "/catatan-kinerja/logs", method = GET)
|
||||
public ResponseEntity<Page<LogbookKinerjaDetailLogDto>> logsKinerja(HttpServletRequest request,
|
||||
@RequestParam(value = "search") String search, @RequestParam(value = "page") int page,
|
||||
@RequestParam(value = "size") int size) {
|
||||
@RequestParam(value = "page") int page, @RequestParam(value = "size") int size) {
|
||||
try {
|
||||
Pageable pageable = new PageRequest(page, size);
|
||||
Page<LogbookKinerjaDetailLogDto> dtoPage = logbookLogService.list(search, pageable);
|
||||
Page<LogbookKinerjaDetailLogDto> dtoPage = logbookLogService.list(pageable);
|
||||
mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS,
|
||||
getMessage(MessageResource.LABEL_SUCCESS, request));
|
||||
return RestUtil.getJsonResponse(dtoPage, HttpStatus.OK, mapHeaderMessage);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user