智慧保安后台管理-外网项目备份
zhongrj
2024-11-11 ba3472d4a1c5fff5a57ecb8810d9faece9cd1e2c
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
package org.springblade.modules.system.service;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.modules.system.entity.User;
import org.springblade.modules.system.entity.UserWx;
import org.springblade.modules.system.excel.UserExcel;
import org.springblade.modules.system.excel.UserWxExcel;
import org.springblade.modules.system.vo.UserVO;
 
import java.util.List;
import java.util.Map;
 
public interface IUserWxService extends BaseService<UserWx> {
    /**
     * 微信注册用户存入到微信用户表中
     * @param user
     * @return
     */
    Boolean wxRegister(UserWx user);
 
    UserWx getUserWx(String tenantId, String account, String password);
 
    /**
     * 自定义分页
     *
     * @param page
     * @param user
     * @param deptId
     * @param tenantId
     * @return
     */
    IPage<UserVO> selectUserPage(IPage<UserVO> page, User user, Long deptId, String tenantId);
 
    /**
     * 自定义查询详情信息
     * @param id
     * @return
     */
    UserVO getUserDetailById(Long id);
 
    boolean resetPassword(String userIds);
 
    /**
     * 删除用户
     *
     * @param userIds
     * @return
     */
    boolean removeUser(String userIds);
 
    List<UserWxExcel> exportUser(Map<String, Object> user);
 
    /**
     * 修改密码
     * @param userId
     * @param newPassword
     * @param oldPassword
     * @param newPassword1
     * @return
     */
    boolean updatePassword(Long userId, String oldPassword, String newPassword, String newPassword1);
}