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
33
34
35
36
37
38
39
40
41
42
43
44
package cn.wisenergy.mapper;
import cn.wisenergy.model.app.MonthAward;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
/**
* @author 86187
*/
public interface MonthAwardMapper extends BaseMapper<MonthAward> {
/**
* 添加
*
* @param monthAward 奖励信息
* @return 1
*/
int add(MonthAward monthAward);
/**
* 编辑
*
* @param monthAward 奖励信息
* @return 1
*/
int edit(MonthAward monthAward);
/**
* 删除
*
* @param id 主键id
* @return 1
*/
int delById(Integer id);
/**
* 获取本月 月度奖金
* @param yearMonth 年月
* @return 月度奖金
*/
MonthAward getByTime(@Param("yearMonth")Date yearMonth);
}