|
@ -98,14 +98,14 @@ public class SysService {
|
98
|
98
|
@Put
|
99
|
99
|
@Path("/manager")
|
100
|
100
|
public int modifyManager(@JdbcConn(true) Connection con, @LoginUser SessionManager loginUser,
|
101
|
|
@RequestParam(fields = {@FieldParam(value = "id", valueClass = String.class),
|
102
|
|
@FieldParam(value = "account", valueClass = String.class),
|
|
101
|
@RequestParam(fields = {@FieldParam(value = "account", valueClass = String.class),
|
103
|
102
|
@FieldParam(value = "name", valueClass = String.class),
|
104
|
103
|
@FieldParam(value = "phone", valueClass = String.class),
|
105
|
104
|
@FieldParam(value = "email", valueClass = String.class),
|
106
|
105
|
@FieldParam(value = "job", valueClass = String.class),
|
107
|
106
|
@FieldParam(value = "comp", valueClass = String.class)}, excludeFields = {"id", "createTime", "modifyTime", "passwd", "actived"}) Manager user) throws SQLException {
|
108
|
107
|
user.setModifier(loginUser.getId());
|
|
108
|
user.setId(loginUser.getId());
|
109
|
109
|
return userDao.update(con, user);
|
110
|
110
|
}
|
111
|
111
|
|