Changeset ee27685 for src/main/java/com/example/cookbook/service
- Timestamp:
- 02/04/24 17:12:57 (9 months ago)
- Branches:
- master
- Children:
- a226bc3
- Parents:
- cab1b7d
- Location:
- src/main/java/com/example/cookbook/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/cookbook/service/NarackiService.java
rcab1b7d ree27685 2 2 3 3 import com.example.cookbook.model.Naracka; 4 import com.example.cookbook.model.Recept; 5 import com.example.cookbook.model.Stavka; 4 6 5 7 import java.sql.SQLException; 8 import java.time.LocalDateTime; 6 9 import java.util.List; 7 10 … … 9 12 10 13 List<Naracka> listAll() throws SQLException; 14 15 List<Stavka> findByTelAndVreme(String telefon, LocalDateTime vreme) throws SQLException; 11 16 } -
src/main/java/com/example/cookbook/service/impl/NarackiServiceImpl.java
rcab1b7d ree27685 3 3 4 4 import com.example.cookbook.model.Naracka; 5 import com.example.cookbook.model.Recept; 6 import com.example.cookbook.model.Stavka; 5 7 import com.example.cookbook.repository.NarackiRepository; 6 8 import com.example.cookbook.service.NarackiService; … … 8 10 9 11 import java.sql.SQLException; 12 import java.time.LocalDateTime; 10 13 import java.util.List; 11 14 … … 23 26 return narackiRepository.findAll(); 24 27 } 28 29 @Override 30 public List<Stavka> findByTelAndVreme(String telefon, LocalDateTime vreme) throws SQLException { 31 return narackiRepository.findByTelAndVreme(telefon, vreme); 32 } 25 33 }
Note:
See TracChangeset
for help on using the changeset viewer.