package com.ruoyi.ibs.task.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ibs.task.domain.entity.MarketTask;
import com.ruoyi.ibs.task.domain.entity.MarketTaskList;
import com.ruoyi.ibs.task.domain.vo.MarketTaskVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 营销任务Mapper接口
 *
 */
@Mapper
public interface MarketTaskMapper extends BaseMapper<MarketTask> {

    String selectCreateStatus(String id);

    List<MarketTaskVO> selectMarketTasks(@Param("role") String role, @Param("deptId") Long deptId, @Param("marketTaskName") String marketTaskName);
}
