package com.ssj.dao.sys.integration;

import com.ssj.bean.sys.integration.Integration;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Mount Liu
 * @date 2019/11/26
 */
@Repository
public interface IntegrationDao extends JpaRepository<Integration, String> {

    Integration findTopByTeacherIdAndType(String teacherId, int type);
}
