Ignore:
Timestamp:
01/03/24 00:00:07 (11 months ago)
Author:
gjoko kostadinov <gjokokostadinov@…>
Branches:
master
Children:
53765dd
Parents:
77205be
Message:

Add all bug fixes.

Location:
src/main/java/edu/gjoko/schedlr/repositories
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/repositories/BusinessRepository.java

    r77205be r1413ee2  
    1616    Business findBusinessByOwner(Stakeholder owner);
    1717
    18     List<Business> findBusinessesByBusinessTypeAndBusinessStatus(BusinessType businessType, BusinessStatus businessStatus);
    19 
     18    Business findBusinessesByOwner_Id(Long ownerId);
    2019    List<Business> findBusinessesByBusinessStatusAndBusinessType_Id(BusinessStatus businessStatus, Long id);
    2120}
  • src/main/java/edu/gjoko/schedlr/repositories/ServiceRepository.java

    r77205be r1413ee2  
    11package edu.gjoko.schedlr.repositories;
    22
    3 import edu.gjoko.schedlr.entity.Business;
    43import edu.gjoko.schedlr.entity.Service;
    54import org.springframework.data.jpa.repository.JpaRepository;
     5import org.springframework.data.jpa.repository.Modifying;
     6import org.springframework.data.jpa.repository.Query;
    67import org.springframework.stereotype.Repository;
     8
     9import java.util.List;
    710
    811@Repository
  • src/main/java/edu/gjoko/schedlr/repositories/ServiceTypeRepository.java

    r77205be r1413ee2  
    44import edu.gjoko.schedlr.entity.ServiceType;
    55import org.springframework.data.jpa.repository.JpaRepository;
     6import org.springframework.data.jpa.repository.Modifying;
     7import org.springframework.data.jpa.repository.Query;
    68import org.springframework.stereotype.Repository;
    79
Note: See TracChangeset for help on using the changeset viewer.