@Async @Override public void deleteByEntity(OsLog osLog) { logRepository.delete(osLog); }
@Async @Override public void deleteById(int id) { logRepository.delete(id); }
@Override public Page<OsLog> findAll(Pageable pageable) { return logRepository.findAll(pageable); }
@Override public Page<OsLog> findByUserOrAdminName(String userOrAdminName, Pageable pageable) { return logRepository.findByUserOrAdminNameLike(userOrAdminName, pageable); }
public Page<OsLog> findByContent(String content, Pageable pageable) { return logRepository.findByContentLike(content, pageable); }
@Override @Async public void save(OsLog osLog) { logRepository.save(osLog); }