zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
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
73
74
75
76
77
78
79
package com.shlanbao.tzsc.pms.sys.user.service;
 
import java.util.List;
 
import com.shlanbao.tzsc.base.mapping.SysModelPermis;
import com.shlanbao.tzsc.base.model.DataGrid;
import com.shlanbao.tzsc.base.model.PageParams;
import com.shlanbao.tzsc.pms.sys.user.beans.UserBean;
/**
 * 用户管理业务接口
 * @author Leejean
 * @create 2014年9月16日上午10:43:55
 */
public interface UserServiceI {
    /**
     * 登录
     * @param user
     * @return
     */
    UserBean login(UserBean user) throws Exception;
    /**
     * 查询系统用户
     */
    DataGrid querySysUser(UserBean userBean,PageParams pageParams) throws Exception;
    /**
     * 修改密码
     * @author Leejean
     * @create 2014-7-10下午02:23:56
     * @param id 用户id
     * @param pwd 新密码
     */
    void editPwd(String id, String pwd) throws Exception;
    /**
     * 新建用户
     * @author Leejean
     * @create 2014-8-18上午11:18:29
     * @param userBean
     * @return
     */
    void addSysUser(UserBean userBean) throws Exception;
    /**
     * 修改用户
     * @author Leejean
     * @create 2014-8-18下午05:45:18
     * @param userBean
     */
    void editSysUser(UserBean userBean) throws Exception;
    /**
     * 删除用户
     * @author Leejean
     * @create 2014-8-18下午05:45:22
     * @param id
     */
    void deleteSysUser(String id) throws Exception;
    /**
     * 批量删除用户
     * @author Leejean
     * @create 2014-8-18下午07:35:41
     * @param ids
     */
    void batchDeleteSysUser(String ids) throws Exception;
    /**
     * 根据用户id获取用户对象
     * @author Leejean
     * @create 2014-8-18下午08:02:10
     * @param id
     * @return
     */
    UserBean getSysUserById(String id) throws Exception;
    /**
     * 批量添加
     * @author Leejean
     * @create 2014年9月29日下午4:20:05
     * @param users
     * @throws Exception
     */
    void batchInsert(List<UserBean> users) throws Exception;
    
}