package cn.com.oa.mapper;

import cn.com.oa.model.Company;
import cn.com.oa.model.ProjectInfo;
import cn.com.oa.model.vo.ProjectInfoVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
public interface ProjectInfoMapper extends BaseMapper<ProjectInfo> {

    Integer getProjectCount(@Param("projectInfo") ProjectInfoVo projectInfo);

    List<Map<String, Object>> getWeekProjectTaskCount(@Param("projectInfo") ProjectInfoVo projectInfo);

    List<Map<String, Object>> getProjectTaskCount(@Param("projectInfo") ProjectInfoVo projectInfo);
}
