WebSite/Handlers/CustomerInformation/CustomerCommunicationRecord/CommunicationRecord.aspx.cs

(开头部分) 5KB

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

using BLL.CustomerInformation;
using Common;
using System;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace CRMSYS.Handlers.CustomerInformation.CustomerCommunicationRecord
{
    public partial class CommunicationRecord : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);

        protected void Page_Load(object sender, EventArgs e)
        {
            TCWL_B_CommunicationRecord jwjl;
            string shijian;
            string didian;
            string gaiyao;
            string xiangxixinxi;
            string beizhu;
            string id;
            switch (base.Request.Params["Method"].ToString())
            {
                case "All":
                {
                    string where;
                    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());
                    jwjl = new TCWL_B_CommunicationRecord();
                    base.Response.Clear();
                    if (base.Request["where"] == null)
                    {
                        string ID = base.Request["ID"].ToString();
                        where = "";
                        if (Edition == "0")
                        {
                            where = " T.ServiceID = '" + ServiceID + "' and T.KeHuBianHao = '" + ID + "' ";
                        }
                        else
                        {
                            where = "  T.KeHuBianHao = '" + ID + "' ";
                        }
                        base.Response.Write(jwjl.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);
                        where = " T." + name + " like '%" + value + "%' ";
                        base.Response.Write(jwjl.SelectAll(where, "", ((page - 1) * rows) + 1, page * rows));
                    }
                    base.Response.End();
                    return;
                }
                case "Add":
                {
                    string khbh = base.Request["khbh"].ToString();
                    string serviceid = DESEncrypt.Decrypt(base.Request["serviceid"].ToString());
后面还有 65 行代码,购买后查看完整代码

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

AI 解读 AI

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

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