WebSite/Handlers/Reports/Contract.aspx.cs

(开头部分) 14KB

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

using BLL;
using BLL.system;
using Common;
using System;
using System.Web.UI;
using System.Configuration;
namespace CRMSYS.Handlers.Reports
{


    public partial class Contract : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);

        protected void Page_Load(object sender, EventArgs e)
        {
            string strMethod = base.Request["method"].ToString();
            if (strMethod != null)
            {
                string start;
                string end;
                string srvID;
                string type;
                string userID;
                string where;
                string MyIds;
                TCWL_B_ContractStatic cp;
                if (!(strMethod == "StaticAll"))
                {
                    TCWL_B_Unit b;
                    string name;
                    string name_list;
                    if (strMethod == "Statistics_user")
                    {
                        cp = new TCWL_B_ContractStatic();
                        start = base.Request["start"] ?? "";
                        end = base.Request["end"] ?? "";
                        srvID = "";
                        type = (base.Request.Form["ddlType"] == null) ? "month" : base.Request.Form["ddlType"].ToString();
                        name = (base.Request.Form["userids"] == null) ? "" : base.Request.Form["userids"].ToString();
                        userID = (base.Request["userID"] == null) ? "" : base.Request["userID"].ToString().Trim();
                        name = base.Server.UrlDecode(name);
                        where = " ";
                        if (Edition == "0")
                        {
                            srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
                            where = where + " ht.ServiceID = '" + srvID + "' ";
                        }
                        else
                        {
                            where = " 1=1 ";
                        }
                        if (start.Length > 0)
                        {
                            where = where + " and (CONVERT(nvarchar(11),ht.timeStr,120)>='" + start + "'";
                            if (end.Length > 0)
                            {
                                where = where + " and CONVERT(nvarchar(11),ht.timeStr,120)<='" + end + "') ";
                            }
                            else
后面还有 258 行代码,购买后查看完整代码

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

AI 解读 AI

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

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