updatecppasswordaction.java
来自「移动彩信管理平台」· Java 代码 · 共 50 行
JAVA
50 行
/**
*
*/
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 + =
减小字号Ctrl + -
显示快捷键?