/// <summary>
        /// 组合条件SQL
        /// </summary>
        /// <param name="filter">筛选</param>
        /// <param name="parameters">参数</param>
        /// <returns>条件SQL</returns>
        protected virtual StringBuilder MergeWhereSql(FilterInfo filter, out DynamicParameters parameters)
        {
            StringBuilder whereSql = SqlUtil.CreateWhereSql();

            parameters = new DynamicParameters();
            if (filter == null)
            {
                return(whereSql);
            }

            AppendCreateTimeSql(whereSql, filter, parameters);
            AppendKeywordSql(whereSql, filter as KeywordFilterInfo);
            AppendSelectPageWhereSql(whereSql, parameters, filter);

            return(whereSql);
        }