Beispiel #1
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);
        }
Beispiel #2
0
        public SearchResourceUserInputRuleReplayModel SearchUserInputRuleList(SearchResourceUserInputRuleRequestModel condtion)
        {
            SearchResourceUserInputRuleReplayModel result = PublicResourceService.SearchUserInputRuleList(condtion);

            return(result);
        }