Esempio n. 1
0
 public ActionResult SaveForm(string keyValue, PMR005OrgEntity orgEntity)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         sysBLL.Modify005OrgForm(keyValue, orgEntity);
     }
     else
     {
         orgEntity.PARENTORG = string.IsNullOrEmpty(orgEntity.PARENTORG) ? "ROOT" : orgEntity.PARENTORG;
         sysBLL.Create005OrgtForm(orgEntity);
     }
     return(Success("操作成功。"));
 }