package com.sunxung.factoring.service.underlying;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunxung.factoring.entity.project.vo.BusinessProcessingTaskVo;
import com.sunxung.factoring.entity.project.vo.SearchBusinessProcessingTask;
import com.sunxung.factoring.entity.underlying.CustomerFileSearch;
import com.sunxung.factoring.entity.underlying.UnderlyingBasicInfo;
import com.sunxung.factoring.entity.underlying.sop.UnderlyingFileVo;

import java.util.List;

/**
 * @author liutao
 * @date 2021.10.11
 */
public interface UnderlyingBasicInfoService extends IService<UnderlyingBasicInfo> {

    /**
     * 获取列表页信息
     *
     * @param id
     * @return
     */
    UnderlyingBasicInfo get(Long id);

    /**
     * 获取详情信息
     *
     * @param id
     * @return
     */
    UnderlyingBasicInfo getDetail(Long id);

    /**
     * 查询全部
     *
     * @param search
     * @return
     */
    List<BusinessProcessingTaskVo> findAllList(SearchBusinessProcessingTask search);

    /**
     * 查询我已处理列表
     *
     * @param search
     * @return
     */
    List<BusinessProcessingTaskVo> findMyCompletedList(SearchBusinessProcessingTask search);


    /**
     * 获取该业务的所有附件
     *
     * @return
     */
    UnderlyingFileVo getAllBusinessFile(CustomerFileSearch customerFileSearch);
}
