YYC
2023-08-05 a836dc12b19f090a1f0e16504f5ea9f0c39cb96f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.fzzy.whjl.view.repository;
 
import com.fzzy.api.entity.ApiList;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.List;
 
public interface ApiListWhjlRep extends JpaRepository<ApiList, Integer> {
 
    /**
     * 根据业务类型查询接口列表
     * @param bizType
     * @return
     */
    @Query("from ApiList where bizType=:bizType ")
    List<ApiList> findAllByBizType(@Param("bizType") String bizType);
}