public SearchResourceUserInputRuleReplayModel SearchUserInputRuleList(SearchResourceUserInputRuleRequestModel condtion) { SearchResourceUserInputRuleReplayModel result = PublicResourceService.SearchUserInputRuleList(condtion); return(result); }
/// <summary> /// 获取用户输入规范项列表 /// </summary> /// <param name="condtion"></param> /// <returns></returns> internal static SearchResourceUserInputRuleReplayModel SearchUserInputRuleList(SearchResourceUserInputRuleRequestModel condtion) { SearchResourceUserInputRuleReplayModel result = new SearchResourceUserInputRuleReplayModel(); try { result = BaseSysTemDataBaseManager.RsSearchUserInputRuleList(condtion); if (result.rows.Count > 0) { foreach (ResourceUserInputRuleModel row in result.rows) { if (!string.IsNullOrEmpty(row.OptionsString)) { row.OptionsList = row.OptionsString.Split(',').ToList(); } } } } catch (Exception e) { SysManagerService.SysSaveErrorLogMsg(e.ToString(), condtion); } return(result); }
public ActionResult UserInputRuleSet(SearchResourceUserInputRuleRequestModel condtion) { ViewBag.PageId = Guid.NewGuid().ToString(); ViewBag.condtion = condtion; return(View()); }