BLL/TCWL_B_ContractStatic.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace BLL
{
    using Common;
    using DAL;
    using System;
    using System.Data;

    public class TCWL_B_ContractStatic
    {
        private readonly TCWL_D_ContractStatic dal = new TCWL_D_ContractStatic();

        public string CusTop(string strWhere)
        {
            DataTable dt = this.dal.CusTop(strWhere);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string GetCus(string strWhere)
        {
            DataTable dt = new DataTable();
            dt = this.dal.GetCus(strWhere);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string GetCus(string where, int startIndex, int endIndex)
        {
            int total = 0;
            DataTable dt = this.dal.GetCus(where, startIndex, endIndex, out total);
            return string.Concat(new object[] { "{\"total\":", total, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
        }

        public string getHTTime_cus(string strWhere, string type)
        {
            DataTable dt = new DataTable();
            if (type == "month")
            {
                dt = this.dal.getHTAllTime_cus(strWhere);
            }
            if (type == "year")
            {
                dt = this.dal.getHTAllYears_cus(strWhere);
            }
            if (type == "Quarter")
            {
                dt = this.dal.getHTAllQuarter_cus(strWhere);
            }
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string getHTTime_user(string strWhere, string type)
        {
            DataTable dt = new DataTable();
            if (type == "month")
            {
                dt = this.dal.getHTAllTime_user(strWhere);
            }
            if (type == "year")
            {
                dt = this.dal.getHTAllYears_user(strWhere);
            }
后面还有 65 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。