Blame view

fw-morax-dao/src/main/java/cn/fw/morax/dao/kpi/KpiGroupUserDao.java 1.09 KB
2c46e48d   张志伟   :rocket:
1
2
3
4
  package cn.fw.morax.dao.kpi;
  
  import cn.fw.morax.domain.db.kpi.KpiGroupUser;
  import com.baomidou.mybatisplus.core.mapper.BaseMapper;
459e4fde   姜超   fix(kpipool、salar...
5
  import org.apache.ibatis.annotations.Param;
2c46e48d   张志伟   :rocket:
6
7
  import org.springframework.stereotype.Repository;
  
459e4fde   姜超   fix(kpipool、salar...
8
9
  import java.time.YearMonth;
  
2c46e48d   张志伟   :rocket:
10
11
12
13
14
15
16
17
  /**
   * @author : kurisu
   * @className : KpiGroupUserDao
   * @description : 绩效组人员
   * @date: 2022-04-06 14:35
   */
  @Repository
  public interface KpiGroupUserDao extends BaseMapper<KpiGroupUser> {
459e4fde   姜超   fix(kpipool、salar...
18
19
20
21
  
      /**
       * 获取某月最近的绩效组人员数据
       *
459e4fde   姜超   fix(kpipool、salar...
22
23
24
       * @param yearMonth
       * @return
       */
a92022b7   姜超   feature(*): 绩效不再使...
25
      KpiGroupUser getMonthLastData(@Param("kpiGroupId") Long kpiGroupId,
459e4fde   姜超   fix(kpipool、salar...
26
27
                                    @Param("userId") Long userId,
                                    @Param("yearMonth") YearMonth yearMonth);
ea01c66f   姜超   feature(*): 管理角色查询接口
28
29
30
      /**
       * 获取某月第一天的绩效组人员数据
       *
ea01c66f   姜超   feature(*): 管理角色查询接口
31
32
33
       * @param yearMonth
       * @return
       */
a92022b7   姜超   feature(*): 绩效不再使...
34
      KpiGroupUser getMonthFirstData(@Param("kpiGroupId") Long kpiGroupId,
ea01c66f   姜超   feature(*): 管理角色查询接口
35
36
                                    @Param("userId") Long userId,
                                    @Param("yearMonth") YearMonth yearMonth);
2c46e48d   张志伟   :rocket:
37
  }