WebSite/Handlers/CustomerInformation/PublicManagement/PublicMg.aspx.cs

(开头部分) 39KB

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

using BLL;
using BLL.Area;
using BLL.system;
using Common;
using Model;
using System;
using System.Configuration;
using System.Data;
using System.Web.UI;
namespace CRMSYS.Handlers.CustomerInformation.PublicManagement
{
    public partial class PublicMg : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
        protected void Page_Load(object sender, EventArgs e)
        {
            string text = base.Request["method"].ToString();
            switch (text)
            {
                case "All":
                    {
                        int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
                        int rows = Convert.ToInt32(base.Request["rows"].ToString());
                        TCWL_B_Management khgl = new TCWL_B_Management();
                        base.Response.Clear();
                        if (base.Request["where"] == null)
                        {
                            string yonghu = base.Request["userid"].ToString();
                            string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                            string where;
                            if (PublicMg.Edition == "0")
                            {
                                where = " KeHuSuoShu='1' and TrueorFalse = '0' and ServiceID = '" + srvid + "' ";
                            }
                            else
                            {
                                where = " KeHuSuoShu='1' and TrueorFalse = '0'";
                            }
                            base.Response.Write(khgl.GetGhList(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        else
                        {
                            string khname = base.Request.Form["khname"].ToString();
                            string where;
                            if (PublicMg.Edition == "0")
                            {
                                string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                                where = " KeHuSuoShu='1' and TrueorFalse = '0' and ServiceID = '" + srvid + "' and (KeHuMingCheng like '%'+@name+'%' or Contact like '%'+@name+'%')";
                            }
                            else
                            {
                                where = " KeHuSuoShu='1' and TrueorFalse = '0' and (KeHuMingCheng like '%'+@name+'%' or Contact like '%'+@name+'%')";
                            }
                            base.Response.Write(khgl.GetGhList(where, "", (page - 1) * rows + 1, page * rows, khname));
                        }
                        base.Response.End();
                        break;
                    }
                case "loadZone":
                    {
后面还有 709 行代码,购买后查看完整代码

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

AI 解读 AI

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

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