public String transferUser() { checkPassword(); AdminService adminService = ServiceCacheFactory.getService(AdminService.class); adminService.transferUserInfo(fromUserName, toUserName); super.setErroCodeNum(2002); return SUCCESS; }
public String edit() { checkPassword(); AdminService adminService = ServiceCacheFactory.getService(AdminService.class); adminService.updateTduser(tdId, tdname, tduserid, tduser, tdcall, tdqq); super.setErroCodeNum(2001); return SUCCESS; }
public String execute() { UserService userService = ServiceCacheFactory.getServiceCache().getService(UserService.class); if (status == 0) { Gcuser gcuser = userService.getUserByUserName(super.getUserName()); super.initPage( userService.getTheSameNameUserPageByCondition( super.getUserName(), gcuser.getName(), gcuser.getUserid(), super.getToPage(), 10)); } else { if (fromUsers == null || fromUsers.size() == 0) { super.setErroCodeNum(6); return SUCCESS; } if (tp == 0) { userService.batchTrasferYb(fromUsers, super.getUserName(), pa2j); } else { userService.batchTrasferScores(fromUsers, super.getUserName(), pa2j); } super.setErroCodeNum(10); } return SUCCESS; }