jiazx0107@163.com
2023-12-14 8435cf1d25d07b09e2a9937d39bed1c1a422e4f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.fzzy.otherview.whhpjl.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);
}