📄 updatecppasswordaction.java
字号:
/**
*
*/
package com.my7g.zj.mobile.mms.web.action;
import com.my7g.zj.mobile.mms.business.IUserService;
import com.opensymphony.xwork2.ActionSupport;
/**
* 重置cp密码
*
* @author liuhb
*
*/
public class UpdateCpPasswordAction extends ActionSupport {
private Integer userId;
private IUserService userService = null;
private Integer groupId;
public Integer getGroupId() {
return groupId;
}
public void setGroupId(Integer groupId) {
this.groupId = groupId;
}
public String execute() {
try {
userService.updateCpPassword(userId);
} catch (Exception e) {
e.printStackTrace();
return ERROR;
}
return SUCCESS;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public void setUserService(IUserService userService) {
this.userService = userService;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -