Blame view

fw-morax-dao/src/main/java/cn/fw/morax/dao/salary/SalaryGroupUserDao.java 1.69 KB
2c46e48d   张志伟   :rocket:
1
2
3
4
  package cn.fw.morax.dao.salary;
  
  import cn.fw.morax.domain.db.salary.SalaryGroupUser;
  import com.baomidou.mybatisplus.core.mapper.BaseMapper;
f9a3dfe2   张志伟   feature(*): 额外薪酬项...
5
  import org.apache.ibatis.annotations.Param;
2c46e48d   张志伟   :rocket:
6
7
  import org.springframework.stereotype.Repository;
  
459e4fde   姜超   fix(kpipool、salar...
8
  import java.time.YearMonth;
f9a3dfe2   张志伟   feature(*): 额外薪酬项...
9
10
  import java.util.Date;
  
2c46e48d   张志伟   :rocket:
11
12
13
14
  /**
   * @author : kurisu
   * @className : SalaryGroupUserDao
   * @description : 薪酬组人员
f9a3dfe2   张志伟   feature(*): 额外薪酬项...
15
   * @date : 2022-04-06 14:54
2c46e48d   张志伟   :rocket:
16
17
18
   */
  @Repository
  public interface SalaryGroupUserDao extends BaseMapper<SalaryGroupUser> {
f9a3dfe2   张志伟   feature(*): 额外薪酬项...
19
20
21
22
23
24
25
26
27
28
29
30
31
      /**
       * 查询薪酬组人员
       *
       * @param userId   用户id
       * @param postId   岗位id
       * @param shopId   在职门店id
       * @param dataDate 日期
       * @return 薪酬组人员
       */
      SalaryGroupUser queryUserByPostShopAndUserId(@Param("userId") final Long userId,
                                                   @Param("postId") final Long postId,
                                                   @Param("shopId") final Long shopId,
                                                   @Param("dataDate") final Date dataDate);
459e4fde   姜超   fix(kpipool、salar...
32
33
34
35
36
37
38
39
40
41
42
  
      /**
       * 获取某月最近的绩效组人员数据
       *
       * @param sgc
       * @param monthly
       * @return
       */
      SalaryGroupUser getMonthLastData(@Param("sgc") String sgc,
                                       @Param("userId") Long userId,
                                       @Param("monthly") YearMonth monthly);
dc3ff325   姜超   feature(*): 薪酬组开始...
43
44
45
46
47
48
49
50
51
52
53
  
      /**
       * 获取某月最近的绩效组人员数据
       *
       * @param sgc
       * @param monthly
       * @return
       */
      SalaryGroupUser getMonthFirstData(@Param("sgc") String sgc,
                                       @Param("userId") Long userId,
                                       @Param("monthly") YearMonth monthly);
2c46e48d   张志伟   :rocket:
54
  }