package com.crm.manager.dao.repository;

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

import java.util.List;

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

    List<CustomFileTable> getAllByCustomId(Long customId);

    List<CustomFileTable> getAllByCustomIdAndUserId(Long customId, Long userId);
}
