BLL/TCWL_B_ClientArea.cs

(完整代码) 1KB

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

    public class TCWL_B_ClientArea
    {
        private readonly TCWL_D_ClientArea dal = new TCWL_D_ClientArea();

        public string loadAllPrince(string srvid, string userids)
        {
            int max = 0;
            DataTable dt = this.dal.loadClientAreaByCountry(srvid, userids, out max);
            return string.Concat(new object[] { "{\"max\":", max, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
        }

        public string loadCtyClientByPrn(string srvid, string Prince)
        {
            DataTable dt = this.dal.loadClientAreaByPrince(srvid, Prince);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string loadOrderByCty(string ids, string srvid, string prince, string start, string end)
        {
            DataTable dt = this.dal.loadOrderByCty(ids, srvid, prince, start, end);
            return ("{\"rows\":" + JsonHelper.DataTableToJson(dt) + "}");
        }

        public string loadOrderByPrince(string ids, string srvid, string start, string end)
        {
            int max = 0;
            DataTable dt = this.dal.loadOrderByPrince(ids, srvid, start, end, out max);
            return string.Concat(new object[] { "{\"max\":", max, ",\"rows\":", JsonHelper.DataTableToJson(dt), "}" });
        }
    }
}

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

AI 解读 AI

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

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