// private dynamic GetById(HttpContext context) { try { SysLogBll.Create("组织单位", "查询单个组织单位数据", adminUser.AdminName); string OrgCode = context.Request.QueryString["OrgCode"]; return(dal.GetModel(OrgCode)); } catch (Exception ex) { SystemErrorPlug.ErrorRecord("时间:[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]类名:[" + this.GetType().Name + "],行号:[" + Component.GetLineNum().ToString() + "行],错误信息:[" + ex.Message + "]"); return(null); } }
public OrganizationModel GetModel(int OrgID) { return(dal.GetModel(OrgID)); }