Commit 352a64d1 authored by shangying's avatar shangying

产品利率表没有增加服务声明

parent 254f8d3b
...@@ -2,8 +2,10 @@ package cn.quantgroup.cashloanflowboss.spi.xyqb.repository; ...@@ -2,8 +2,10 @@ package cn.quantgroup.cashloanflowboss.spi.xyqb.repository;
import cn.quantgroup.cashloanflowboss.spi.xyqb.entity.FinanceProduct; import cn.quantgroup.cashloanflowboss.spi.xyqb.entity.FinanceProduct;
import cn.quantgroup.cashloanflowboss.spi.xyqb.source.XYQBDataSource;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query; import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List; import java.util.List;
...@@ -11,6 +13,8 @@ import java.util.List; ...@@ -11,6 +13,8 @@ import java.util.List;
* @author PoppyWong * @author PoppyWong
* @since 2019/11/18. * @since 2019/11/18.
*/ */
@XYQBDataSource
@Repository
public interface IFinanceProductRepository extends JpaRepository<FinanceProduct, Long> { public interface IFinanceProductRepository extends JpaRepository<FinanceProduct, Long> {
@Query(value = "select * from finance_product where fund_corp_id = ?1 and is_active = 1", nativeQuery = true) @Query(value = "select * from finance_product where fund_corp_id = ?1 and is_active = 1", nativeQuery = true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment