WebSite/Handlers/Reports/ProTime.aspx.cs

(开头部分) 9KB

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

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


    public partial class ProTime : 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_ProTime cp;
                if (!(strMethod == "Statistics"))
                {
                    TCWL_B_Unit b;
                    if (strMethod == "Statistics_name")
                    {
                        cp = new TCWL_B_ProTime();
                        start = base.Request["start"] ?? "";
                        end = base.Request["end"] ?? "";
                        srvID = "";
                        type = base.Request["type"].ToString();
                        string name = base.Request["name"].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 + " c.ServiceID = '" + srvID + "' ";
                        }
                        else
                        {
                            where = where + " 1=1 ";
                        }
                        if (start.Length > 0)
                        {
                            where = where + " and (CONVERT(nvarchar(11),c.TimeStr,120)>='" + start + "'";
                            if (end.Length > 0)
                            {
                                where = where + " and CONVERT(nvarchar(11),c.TimeStr,120)<='" + end + "') ";
                            }
                            else
                            {
                                where = where + ") ";
后面还有 162 行代码,购买后查看完整代码

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

AI 解读 AI

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

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