package com.reyun.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.reyun.model.SystemParam;
@Transactional
public interface SystemParamRepository extends JpaRepository<SystemParam, Long> {
	
	@Query(value="select * from system_param where account = ?1",nativeQuery=true)
	SystemParam findByAccount(Long account);
	
}
