WebSite/Handlers/Process/Process.aspx.cs

(开头部分) 44KB

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

using BLL;
using BLL.system;
using Common;
using Model;
using System;
using System.Configuration;
using System.Data;
using System.Web.UI;
namespace CRMSYS.Handlers.Process
{
    public partial class Process : 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 "LoadModel":
                    {
                        base.Response.Clear();
                        int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
                        int rows = Convert.ToInt32(base.Request["rows"].ToString());
                        TCWL_B_ProcessFormModel x = new TCWL_B_ProcessFormModel();
                        string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                        string where = "";
                        if (Process.Edition == "0")
                        {
                            where = where + " T.ServiceID = '" + srvid + "'";
                        }
                        else
                        {
                            where += "1=1 ";
                        }
                        if (base.Request.Form["stype"] != null)
                        {
                            string type = base.Request.Form["stype"].ToString();
                            string key = (base.Request.Form["searchid"] == null) ? "" : base.Request.Form["searchid"].ToString();
                            if (type != "a")
                            {
                                string text2 = where;
                                where = string.Concat(new string[]
						{
							text2,
							" and T.PType='",
							type,
							"' and (T.PName like '%",
							key,
							"%' or T.PUserName like '%",
							key,
							"%')"
						});
                            }
                            else
                            {
                                string text2 = where;
                                where = string.Concat(new string[]
						{
							text2,
							" and (T.PName like '%",
后面还有 877 行代码,购买后查看完整代码

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

AI 解读 AI

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

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