3940414243444546474849
this.setEchoValue("您输入的的旧密码不正确"); return NO_FORWARD; }else{ DOService updatePassword = DOService.getService("do.bx.user.update.passowrd"); updatePassword.invokeUpdate(StringUtil.MD5(new_password1),DOGlobals.getInstance().getSessoinContext().getUser().getUid()); } return DEFAULT_FORWARD; }
29303132333435363738
if(!new_password1.equals(new_password2)){ this.setEchoValue(I18n.instance().get("两次输入的新密码不一致")); return NO_FORWARD; } DOService updatePassword = DOService.getService("tbemployee.change.password.by.fdloginid"); updatePassword.invokeUpdate(StringUtil.MD5(new_password1),userid); return DEFAULT_FORWARD; } }
2930313233343536373839
// Transaction t = Transaction.getTransaction(insertArchAccount); // // t.begin(); ///事务控制有问题 insertArchAccount.invokeUpdate(formData); String[] imageTypes = formData.getValueArray("imagetype"); String[] imageTitles = formData.getValueArray("imagetitle"); String[] imageAlls = formData.getValueArray("ImageAll");
4445464748495051525354
map.put("imagetype", imageTypes[i]); map.put("imagetitle", imageTitles[i]); map.put("imageall", imageAlls[i]); System.out.println("imageAll" + i +":::" + imageAlls[i]); insertArchDetails.invokeUpdate(map); } return "保存成功"; }