Commit f3ad9f28 authored by shangying's avatar shangying

修复一下配置

parent 26067152
......@@ -2,15 +2,19 @@ package cn.quantgroup.cashloanflowboss.spi.xyqb.repository;
import cn.quantgroup.cashloanflowboss.spi.xyqb.entity.QuotaAccount;
import cn.quantgroup.cashloanflowboss.spi.xyqb.source.XYQBDataSource;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by QuantGroup on 2018/3/21.
*/
@XYQBDataSource
@Repository
public interface IQuotaAccountRepository extends JpaRepository<QuotaAccount, Long> {
@Query(value = "select * from quota_account where uuid = ?1 and product_id=?2 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