linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.ots.project.exam.service;
 
import com.ots.project.exam.domain.SysUserExtend;
import com.ots.project.system.user.domain.User;
 
import java.util.List;
 
/**
 * 用户信息扩展Service接口
 *
 * @author ots
 * @date 2019-11-20
 */
public interface ISysUserExtendService {
    /**
     * 查询用户信息扩展
     *
     * @param userId 用户信息扩展ID
     * @return 用户信息扩展
     */
    SysUserExtend selectSysUserExtendById(Long userId);
 
    /**
     * 查询用户信息扩展列表
     *
     * @param sysUserExtend 用户信息扩展
     * @return 用户信息扩展集合
     */
    List<SysUserExtend> selectSysUserExtendList(SysUserExtend sysUserExtend);
 
    /**
     * 新增用户信息扩展
     *
     * @param sysUserExtend 用户信息扩展
     * @return 结果
     */
    int insertSysUserExtend(SysUserExtend sysUserExtend);
 
    /**
     * 修改用户信息扩展
     *
     * @param sysUserExtend 用户信息扩展
     * @return 结果
     */
    int updateSysUserExtend(SysUserExtend sysUserExtend);
 
    /**
     * 批量删除用户信息扩展
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteSysUserExtendByIds(String ids);
 
    /**
     * 删除用户信息扩展信息
     *
     * @param userId 用户信息扩展ID
     * @return 结果
     */
    int deleteSysUserExtendById(Long userId);
 
    /**
     * 增加用户使用次数
     * @param userId
     * @param addNum
     * @return
     */
    int updateTestNum(Long userId, Long addNum);
 
    int resetpwd(User user);
}