中扬CRM客户关系管理系统
LSH
2024-03-26 7e408b4de778506c1544fa8f34ff289dd8b8c8df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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> {
 
    Plan selectByUuid(@Param("hostId") Long hostId, @Param("uuid") String uuid);
    Integer selectPendingTaskCount(@Param("director") Long director);
 
    Plan selectPlanByNewestUuid(@Param("hostId") Long hostId);
 
    List<Plan> listByPage(Page<Plan> page, @Param("hostId")Long hostId, @Param("deptId") String deptId, @Param("userId") Long userId ,@Param("director")Long director, @Param("condition") String condition);
 
    List<Plan> selctPlanListByDirector(Long userId);
 
    List<Plan> getApproval(Integer settle, Integer assistantHostSign);
 
    List<Object> selectMonth();
 
    List<UserYear> selectUserYear(Long userId);
}