Skip to content
Snippets Groups Projects
Commit d6a36313 authored by dre0059's avatar dre0059
Browse files

Oprava - local history

parent 45ca0594
Branches
No related merge requests found
......@@ -32,8 +32,6 @@ public interface DocumentRepository extends JpaRepository<Dokument, Long> {
)
Optional<Dokument> findByTitleAndAuthorsIn(@Param("title") String title, @Param("lastNames") List<String> lastNames);
<<<<<<< HEAD
=======
@Query(
"""
......@@ -44,7 +42,6 @@ public interface DocumentRepository extends JpaRepository<Dokument, Long> {
)
List<Dokument> getReferencedDocumentsById(@Param("id") Long id);
>>>>>>> 9e1c76c (Categories of PDF initialized)
}
/*
......
package com.dre0059.articleprocessor.service;
<<<<<<< HEAD
=======
import com.dre0059.articleprocessor.dto.DocumentDto;
import com.dre0059.articleprocessor.dto.SimpleDocumentDto;
import com.dre0059.articleprocessor.mapper.DocumentMapper;
>>>>>>> 9e1c76c (Categories of PDF initialized)
import com.dre0059.articleprocessor.repository.*;
import com.dre0059.articleprocessor.model.*;
import jakarta.transaction.Transactional;
<<<<<<< HEAD
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@Service
public class DocumentService {
@Autowired
private DocumentRepository documentRepository;
@Autowired
private AuthorRepository authorRepository;
@Transactional
public Dokument saveDocument(Dokument document) {
Dokument dok = new Dokument();
return dok;
}
=======
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -69,5 +45,4 @@ public class DocumentService {
Dokument dok = new Dokument();
return dok;
}
>>>>>>> 9e1c76c (Categories of PDF initialized)
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment