WebSite/Handlers/system/UserApplicationRecord.aspx.cs

(开头部分) 6KB

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

using BLL;
using Com.Alipay;
using Common;
using Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.system
{
	public partial class UserApplicationRecord : 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 "All":
			{
				int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
				int rows = Convert.ToInt32(base.Request["rows"].ToString());
				string srvID = "";
				if (UserApplicationRecord.Edition == "0")
				{
					srvID = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
				}
				string sqlWhere = "";
				string where = "";
				if (base.Request["where"] == null)
				{
					if (UserApplicationRecord.Edition == "0")
					{
						sqlWhere = "  T.ServiceID='" + srvID + "' ";
						where = "  ServiceID='" + srvID + "' ";
					}
				}
				else
				{
					string start = base.Request["start"].ToString();
					string end = base.Request["end"].ToString();
					if (UserApplicationRecord.Edition == "0")
					{
						sqlWhere = " T.ServiceID='" + srvID + "' ";
						where = "  ServiceID='" + srvID + "' ";
					}
					if (start.Length > 0)
					{
						sqlWhere = sqlWhere + " and (CONVERT(nvarchar(11),T.ApplicationTime,120)>='" + start + "'";
						where = where + " and (CONVERT(nvarchar(11),ApplicationTime,120)>='" + start + "'";
						if (end.Length > 0)
						{
							sqlWhere = sqlWhere + " and CONVERT(nvarchar(11),T.ApplicationTime,120)<='" + end + "') ";
							where = where + " and CONVERT(nvarchar(11),ApplicationTime,120)<='" + end + "') ";
						}
						else
						{
							sqlWhere += ") ";
							where += ") ";
后面还有 180 行代码,购买后查看完整代码

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

AI 解读 AI

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

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