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
| package com.yeshi.fanli.dao.mybatis.user;
|
| import org.apache.ibatis.annotations.Param;
|
| import com.yeshi.fanli.dao.BaseMapper;
| import com.yeshi.fanli.entity.bus.user.UserInfoModifyRecord;
|
| public interface UserInfoModifyRecordMapper extends BaseMapper<UserInfoModifyRecord> {
|
| /**
| * 统计修改次数
| *
| * @param uid
| * @param type
| * 可为空则查询所有类型
| * @return
| */
| long countByUid(@Param("uid") Long uid, @Param("type") String type);
|
| /**
| * 根据修改类型与用户ID查询最近一次的修改记录
| *
| * @param uid
| * @param type
| * @return
| */
| UserInfoModifyRecord selectLatestByUidAndType(@Param("uid") Long uid, @Param("type") String type);
|
| }
|
|