package com.crm.manager.dao.repository;

import com.crm.rely.backend.core.pojo.table.CustomSurveyTable;
import com.crm.rely.backend.dao.repository.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by max on 2020/6/17.
 */
@Repository
public interface CustomSurveyRepository extends BaseRepository<CustomSurveyTable> {

    CustomSurveyTable getTopByCustomId(Long id);

    CustomSurveyTable getFirstByCustomId(Long customId);

}
