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

(开头部分) 16KB

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

using BLL;
using BLL.common;
using Common;
using Model;
using System;
using System.Configuration;
using System.Data;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.CustomerInformation.PublicManagement
{
    public partial class PublicManagement : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
        protected void Page_Load(object sender, EventArgs e)
        {
            string text = base.Request.Params["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());
                        string ServiceID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                        TCWL_B_Management khgl = new TCWL_B_Management();
                        base.Response.Clear();
                        if (base.Request["where"] == null)
                        {
                            string where;
                            if (PublicManagement.Edition == "0")
                            {
                                where = " KeHuSuoShu = '1' and ServiceID = '" + ServiceID + "' ";
                            }
                            else
                            {
                                where = " KeHuSuoShu = '1' ";
                            }
                            base.Response.Write(khgl.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
                        }
                        else
                        {
                            string name = base.Request["name"].ToString();
                            string value = base.Request["value"].ToString();
                            value = base.Server.UrlDecode(value);
                            string where;
                            if (PublicManagement.Edition == "0")
                            {
                                where = string.Concat(new string[]
						{
							" KeHuSuoShu = '1' and ServiceID = '",
							ServiceID,
							"' and ",
							name,
							" like '%",
							value,
							"%' "
						});
                            }
后面还有 280 行代码,购买后查看完整代码

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

AI 解读 AI

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

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