package com.td.boss.common.repository;

import com.td.boss.common.pojo.ComConfig;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ComConfigRepository extends CommonRepository<ComConfig, Integer> {

    @Query(value = "select * from com_config", nativeQuery = true)
    public List<ComConfig> list();
}
