BLL/TCWL_B_GhApply.cs

(开头部分) 3KB

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

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

    public class TCWL_B_GhApply
    {
        private readonly TCWL_D_GhApply dal = new TCWL_D_GhApply();

        public bool Add(TCWL_M_GhApply model)
        {
            return this.dal.Add(model);
        }

        public bool Add_SQ(string ID, string SQ, string user)
        {
            TCWL_M_GhApply model = new TCWL_M_GhApply();
            model.CustomID = ID;
            model.ApplicationReason = SQ;
            model.Applicant = user;
            return this.dal.Add_SQ(model);
        }

        public bool Apply_check(string ID, string user)
        {
            TCWL_M_GhApply model = new TCWL_M_GhApply();
            model.CustomID = ID;
            model.Applicant = user;
            return this.dal.Apply_check(model);
        }

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

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

        public string distributeGh(string userid, string id)
        {
            if (this.dal.distributeGh(userid, id))
            {
                return "success";
            }
            return "error";
        }

        public string GetGhListByPageJson(string strWhere, string orderby, int startIndex, int endIndex)
        {
            int total = 0;
            DataTable dt = this.dal.GetGhListByPage(strWhere, orderby, startIndex, endIndex, out total);
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                dt.Rows[i]["KeHuDiZhi"] = DESEncrypt.CusDecrypt(dt.Rows[i]["KeHuDiZhi"].ToString());
后面还有 31 行代码,购买后查看完整代码

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

AI 解读 AI

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

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