Exemplo n.º 1
0
 public String edit() {
   Userinfo user = (Userinfo) session.get(Const.LOGIN_KEY);
   orgRight = orgFightService.getNodeBySid(orgsid);
   orgRightParent = orgFightService.getNodeBySid(orgRight.getPsid().toString());
   if (orgRightParent == null) {
     orgRightParent = new OrgRight();
     orgRightParent.setOrgName("无上级部门");
     orgRightParent.setSid(orgRight.getPsid());
   }
   commonService.logNew(
       3, "用户【" + user.getUsername() + "】修改了id为【" + orgRight.getSid() + "】的单位信息成功!", Log.CAOZUO);
   return "add";
 }
Exemplo n.º 2
0
 public String add() {
   if (orgsid != null) {
     orgRightParent = orgFightService.getNodeBySid(orgsid);
   }
   return "add";
 }