AllPower.WEB/SysAdmin/副本 Model/DepartMentlist.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using KingTop.Common;
using KingTop.Model.SysManage;
namespace KingTop.WEB.SysAdmin.Model
{
public partial class DepartMentlist : System.Web.UI.Page
{
public string department = string.Empty;
string nodecode = string.Empty;
string sqlwhere = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
Account super = new Account();
super = Session[SystemConst.SYSTEM_SESSION_LOGININFO] as Account;
department = super.DepartMent;
nodecode = Tools.CheckSql(Request.QueryString["NodeCode"]);
if (nodecode == "105004010")//临床科室
{
sqlwhere += " and Islckj=1";
}
if (nodecode == "105004011")//省市重点
{
sqlwhere += " and IsKey=1";
}
if (nodecode == "105004012")//特色专科
{
sqlwhere += " and Istszk=1";
}
if (nodecode == "105004013")//医技科室
{
sqlwhere += " and Isyjks=1";
}
if (nodecode == "105004014")//职能科室
{
sqlwhere += " and Isznkj=1";
}
if (!IsPostBack)
{
NewMethod(1);
}
}
#region 绑定某一页
private void NewMethod(int PageIndex)
{
if (int.Parse("0" + this.lblBackPageCount.Text) < PageIndex)
PageIndex = int.Parse(this.lblBackPageCount.Text);
后面还有 167 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
