package com.sckw.manage.dao;

import com.sckw.manage.model.dto.req.CooperateManageQueryReqDto;
import com.sckw.manage.model.dto.res.CooperateManageQueryResDto;
import com.sckw.manage.model.entity.KwmCooperate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.manage.model.vo.req.FindCooperateByEntReqVo;
import com.sckw.manage.model.vo.req.FindEntCooperateReqVo;
import com.sckw.manage.model.vo.req.QueryAllCooperateInfoReqDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author PC
* @description 针对表【kwm_cooperate(合作企业)】的数据库操作Mapper
* @createDate 2023-07-10 14:27:34
* @Entity com.sckw.manage.model.entity.KwmCooperate
*/
@Mapper
public interface KwmCooperateMapper extends BaseMapper<KwmCooperate> {

    /**
     * @param reqDto 查全量入参
     * @return CooperateManageQueryResVo
     * @desc: 查全量
     * @author: czh
     * @date: 2023/7/10
     */
    List<CooperateManageQueryResDto> findList(@Param(value = "reqDto") CooperateManageQueryReqDto reqDto);

    /**
     * @param reqVo 企业id
     * @return KwmCooperate
     * @desc: 根据企业查合作信息
     * @author: czh
     * @date: 2023/8/1
     */
    List<KwmCooperate> findCooperateByEnt(FindCooperateByEntReqVo reqVo);

    /**
     * @param reqDto 查全量入参
     * @return CooperateManageQueryResVo
     * @desc: 查全量
     * @author: czh
     * @date: 2023/7/10
     */
    List<CooperateManageQueryResDto> findManageList(@Param(value = "reqDto") CooperateManageQueryReqDto reqDto);

    /**
     * @param reqVo 入参
     * @return  KwmCooperate
     * @desc: 查合作企业
     * @author: czh
     * @date: 2023/8/16
     */
    List<KwmCooperate> findEntCooperate(FindEntCooperateReqVo reqVo);

    /**
     * @param reqDto 入参
     * @return CooperateManageQueryResDto
     * @desc: 运营端查合作信息
     * @author: czh
     * @date: 2023/9/15
     */
    List<CooperateManageQueryResDto> queryAllCooperateInfoList(@Param(value = "reqDto") QueryAllCooperateInfoReqDto reqDto);
}




