| | |
| | | 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); |
| | | } |