BLL/TCWL_B_Mission.cs

(开头部分) 3KB

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

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

    public class TCWL_B_Mission
    {
        private readonly TCWL_D_Mission dal = new TCWL_D_Mission();

        public string Add(TCWL_M_Mission model, string phone, string count)
        {
            return this.dal.Add(model, phone, count);
        }

        public string Alert_dx(TCWL_M_Mission model, string phone, string count)
        {
            return this.dal.Alert_dx(model, phone, count);
        }

        public bool Delete(string ID)
        {
            return this.dal.Delete(ID);
        }

        public bool DeleteList(string IDlist)
        {
            return this.dal.DeleteList(IDlist);
        }

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

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

        public TCWL_M_Mission GetModel(string ID)
        {
            return this.dal.GetModel(ID);
        }

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

        public string GetReList(string strWhere, string orderby, int startIndex, int endIndex, string userid, string key)
        {
后面还有 28 行代码,购买后查看完整代码

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

AI 解读 AI

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

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