package com.zy.crm.manager.mapper; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.baomidou.mybatisplus.plugins.Page; import com.zy.crm.common.entity.UserYear; import com.zy.crm.manager.entity.Plan; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Mapper @Repository public interface PlanMapper extends BaseMapper { Plan selectByUuid(@Param("hostId") Long hostId, @Param("uuid") String uuid); Integer selectPendingTaskCount(@Param("director") Long director); Plan selectPlanByNewestUuid(@Param("hostId") Long hostId); List listByPage(Page page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId ,@Param("director")Long director, @Param("condition") String condition); List selctPlanListByDirector(Long userId); List getApproval(Integer settle, Integer assistantHostSign); List selectMonth(); List selectUserYear(Long userId); }