jiazx0107@163.com
2023-12-29 dfe62588ca792d4a5eb3e2722675e7263aa46a4e
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();
}