/// <summary> /// 根据单据模块获取配置 /// </summary> /// <param name="hepler"></param> /// <param name="itype"></param> /// <returns></returns> public static Sys_Rec_RefDepend Comm_Ref_Config(this HtmlHelper hepler, string itype) { Sys_Rec_RefDepend model = new Sys_Rec_RefDepend(); ADOSys_Rec_RefDepend instance = new ADOSys_Rec_RefDepend(); var list = instance.GetListByWhere(" and RefDepend_Code='" + itype + "' "); if (list.Count > 0) { model = list[0]; } else { model = null; } return(model); }