Ignore:
Timestamp:
02/04/24 17:12:57 (9 months ago)
Author:
Blazho <aleksandar.blazhevski@…>
Branches:
master
Children:
a226bc3
Parents:
cab1b7d
Message:

Added order items page

File:
1 edited

Legend:

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

    rcab1b7d ree27685  
    33
    44import com.example.cookbook.model.Naracka;
     5import com.example.cookbook.model.Recept;
     6import com.example.cookbook.model.Stavka;
    57import com.example.cookbook.repository.NarackiRepository;
    68import com.example.cookbook.service.NarackiService;
     
    810
    911import java.sql.SQLException;
     12import java.time.LocalDateTime;
    1013import java.util.List;
    1114
     
    2326        return narackiRepository.findAll();
    2427    }
     28
     29    @Override
     30    public List<Stavka> findByTelAndVreme(String telefon, LocalDateTime vreme) throws SQLException {
     31        return narackiRepository.findByTelAndVreme(telefon, vreme);
     32    }
    2533}
Note: See TracChangeset for help on using the changeset viewer.