CZT
2023-12-21 d1b7f2eb67cd87edc4b5eb11def5acba07c75698
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);
}