package com.reyun.repository;

import com.reyun.model.AppExtend;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface AppExtendRepository extends JpaRepository<AppExtend,Long> {

    @Query(value = "select * from app_extend where appid = ?1", nativeQuery = true)
    AppExtend findOneByAppid(Long appid);

}