Manage/ModelItems.aspx.cs
(开头部分) 103KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Text.RegularExpressions;
using EKETEAM.Data;
using EKETEAM.FrameWork;
using EKETEAM.UserControl;
using LitJson;
namespace eFrameWork.Manage
{
public partial class ModelItems : System.Web.UI.Page
{
public string act = eParameters.QueryString("act");
private string value = eParameters.QueryString("value").Replace("'", "''");
private string item = eParameters.QueryString("item");
#region 属性
private string sql = "";
private string _modelid = eParameters.QueryString("modelid");
public string ModelID
{
get
{
return _modelid;
}
}
private string _parentid = "";
public string ParentID
{
get
{
if (_parentid.Length == 0)
{
string temp = ModelInfo["ParentID"].ToString();
if (temp.Length == 0 || temp == "0") //1级
{
_parentid = ModelID;
}
else
{
string type = temp.Length == 0 ? "" : DataBase.getValue("select Type FROM a_eke_sysModels where ModelID='" + temp + "'");
if (type == "2")
{
_parentid = ModelID;
return _parentid;
}
_parentid = temp;
while (temp != "0" && temp.Length > 0 && type!="2")
{
temp = DataBase.getValue("select ParentID FROM a_eke_sysModels where ModelID='" + temp + "'");
type = temp.Length == 0 ? "" : DataBase.getValue("select Type FROM a_eke_sysModels where ModelID='" + temp + "'");
if (temp != "0" && temp.Length > 0 && type != "2")
{
_parentid = temp;
}
后面还有 1745 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
