package com.sunxung.factoring.mapper.underlying;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunxung.factoring.entity.project.vo.BusinessProcessingTaskVo;
import com.sunxung.factoring.entity.project.vo.SearchBusinessProcessingTask;
import com.sunxung.factoring.entity.underlying.UnderlyingBasicInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description : 底层基础信息Mapper类
 * @Author : L.Jia
 * @Date: 2022-03-04 11:28
 */
@Mapper
public interface UnderlyingBasicInfoMapper extends BaseMapper<UnderlyingBasicInfo> {

    /**
     * 查询列表页信息
     *
     * @param id
     * @return
     */
    UnderlyingBasicInfo getListInfo(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);

}
