blob: cbc218294a38d54eda97daa20ee4aa33d9671ce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package org.onap.ransim.rest.api.repository;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import org.onap.ransim.rest.api.models.GNBDUFunction;
@Repository
public interface GNBDURepository extends CrudRepository<GNBDUFunction,Integer>{
@Query(nativeQuery = true, value = "select * from gnbdufunction du join plmninfo plmn where plmn.snssai=?1 and plmn.nrcelldu_celllocalid IS NOT NULL")
public List<GNBDUFunction> findDUsByNSSAI(String nSSAI);
}
|