/// <summary>
        /// 根据字段列表,条件,排序,读取记录
        /// </summary>
        /// <param name="columslist">字段列表,如:Id,姓名,性别,年龄</param>
        /// <param name="strWhere">条件,如:年龄>12 and 性别='女'</param>
        /// <param name="filedOrder">排序,如: Id desc </param>
        /// <returns>返回组装好的json字符串</returns>
        public string GetListByColumns_tojson(string columslist, string strWhere, string orderby)
        {
            string str = DbHelperMySQL.GetListByColumns_tojson(columslist, strWhere, orderby, "业务_订单信息表");

            return(str);
        }
Beispiel #2
0
        /// <summary>
        /// 根据字段列表,条件,排序,读取记录
        /// </summary>
        /// <param name="columslist">字段列表,如:Id,姓名,性别,年龄</param>
        /// <param name="strWhere">条件,如:年龄>12 and 性别='女'</param>
        /// <param name="filedOrder">排序,如: Id desc </param>
        /// <returns>返回组装好的json字符串</returns>
        public string GetListByColumns_tojson(string columslist, string strWhere, string orderby)
        {
            string str = DbHelperMySQL.GetListByColumns_tojson(columslist, strWhere, orderby, "zt_cpruku");

            return str;
        }
Beispiel #3
0
        /// <summary>
        /// 根据字段列表,条件,排序,读取记录
        /// </summary>
        /// <param name="columslist">字段列表,如:Id,姓名,性别,年龄</param>
        /// <param name="strWhere">条件,如:年龄>12 and 性别='女'</param>
        /// <param name="filedOrder">排序,如: Id desc </param>
        /// <returns>返回组装好的json字符串</returns>
        public string GetListByColumns_tojson(string columslist, string strWhere, string orderby)
        {
            string str = DbHelperMySQL.GetListByColumns_tojson(columslist, strWhere, orderby, "zt_chanpinbiao");

            return(str);
        }