Commit 09570a5b authored by Administrator's avatar Administrator

创建项目

parent 6ea4e128
...@@ -5,6 +5,7 @@ import cn.quant.baa.pay.jpa.entity.PayFeatureIds; ...@@ -5,6 +5,7 @@ import cn.quant.baa.pay.jpa.entity.PayFeatureIds;
import cn.quant.baa.pay.jpa.entity.PayHistoryEntity; import cn.quant.baa.pay.jpa.entity.PayHistoryEntity;
import cn.quant.baa.pay.jpa.entity.PayHistoryIds; import cn.quant.baa.pay.jpa.entity.PayHistoryIds;
import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
...@@ -12,4 +13,7 @@ import org.springframework.stereotype.Repository; ...@@ -12,4 +13,7 @@ import org.springframework.stereotype.Repository;
*/ */
@Repository @Repository
public interface PayHistoryRepository extends JpaRepository<PayHistoryEntity, PayHistoryIds> { public interface PayHistoryRepository extends JpaRepository<PayHistoryEntity, PayHistoryIds> {
@Query("")
int counAAAt(PayHistoryIds ids);
} }
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