public ActionResult SaveForm(string keyValue, PMR002MorDeptEntity deptEntity) { deptEntity.PARENTDEPT = deptEntity.PARENTDEPT == "0"?"ROOT":deptEntity.PARENTDEPT; sysBLL.SavePMR002MorDeptForm(keyValue, deptEntity); return(Success("操作成功。")); }