jiazx0107@163.com
2023-11-07 b567aa30888d5d2e64f5c8a27d9b8e025b834ccc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.fzzy.gateway.service.repository;
 
import com.fzzy.gateway.entity.GatewayConf;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
 
import java.util.List;
 
public interface GatewayConfRep extends JpaRepository<GatewayConf, String> {
 
    /**
     * @return
     */
    @Query("from GatewayConf where 1=1 ")
    List<GatewayConf> listAll();
}