示例#1
0
        public SearchResourceUserInputRuleReplayModel SearchUserInputRuleList(SearchResourceUserInputRuleRequestModel condtion)
        {
            SearchResourceUserInputRuleReplayModel result = PublicResourceService.SearchUserInputRuleList(condtion);

            return(result);
        }
示例#2
0
        /// <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);
        }
示例#3
0
 public ActionResult UserInputRuleSet(SearchResourceUserInputRuleRequestModel condtion)
 {
     ViewBag.PageId   = Guid.NewGuid().ToString();
     ViewBag.condtion = condtion;
     return(View());
 }