示例#1
0
 public String transferUser() {
   checkPassword();
   AdminService adminService = ServiceCacheFactory.getService(AdminService.class);
   adminService.transferUserInfo(fromUserName, toUserName);
   super.setErroCodeNum(2002);
   return SUCCESS;
 }
示例#2
0
 public String edit() {
   checkPassword();
   AdminService adminService = ServiceCacheFactory.getService(AdminService.class);
   adminService.updateTduser(tdId, tdname, tduserid, tduser, tdcall, tdqq);
   super.setErroCodeNum(2001);
   return SUCCESS;
 }
示例#3
0
  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;
  }