Ignore:
Timestamp:
02/04/24 17:48:29 (8 months ago)
Author:
Blazho <aleksandar.blazhevski@…>
Branches:
master
Parents:
ee27685
Message:

Vraboteniot ja planira dostavata na narackata(https://develop.finki.ukim.mk/projects/cbdb/wiki/useCase10)

Location:
src/main/java/com/example/cookbook/service
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/cookbook/service/NarackiService.java

    ree27685 ra226bc3  
    11package com.example.cookbook.service;
    22
     3import com.example.cookbook.model.DostavaDTO;
    34import com.example.cookbook.model.Naracka;
    45import com.example.cookbook.model.Recept;
     
    1415
    1516    List<Stavka> findByTelAndVreme(String telefon, LocalDateTime vreme) throws SQLException;
     17
     18    List<DostavaDTO> findDataForDostava(String telefon, LocalDateTime vreme) throws SQLException;
    1619}
  • src/main/java/com/example/cookbook/service/impl/NarackiServiceImpl.java

    ree27685 ra226bc3  
    22
    33
     4import com.example.cookbook.model.DostavaDTO;
    45import com.example.cookbook.model.Naracka;
    56import com.example.cookbook.model.Recept;
     
    3132        return narackiRepository.findByTelAndVreme(telefon, vreme);
    3233    }
     34
     35    @Override
     36    public List<DostavaDTO> findDataForDostava(String telefon, LocalDateTime vreme) throws SQLException {
     37        return narackiRepository.findDataForDostava(telefon, vreme);
     38    }
    3339}
Note: See TracChangeset for help on using the changeset viewer.