WELOA.Web/sb/admin/login_testing_lend.aspx.cs
(开头部分) 17KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WELOA.Model;
using LSBLL;
using SBBLL;
using System.Data;
namespace Web.sb.admin
{
public partial class login_testing_lend : System.Web.UI.Page
{
private DateSetInformation dsinfo = new DateSetInformation();
private LS_Manager managerBLL = new LS_Manager();
private SB_Lendandreturn sb_LendandreturnBLL = new SB_Lendandreturn();
private SB_System sb_systemBLL = new SB_System();
private LS_Staff staffBLL = new LS_Staff();
private SB_Storage storageBLL = new SB_Storage();
private Polytechnic trinfo = new Polytechnic();
protected void btLend_Click(object sender, EventArgs e)
{
string strManager = this.Manager();
this.dsinfo = this.sb_LendandreturnBLL.select_Lend_testing(this.lbStaffnumber.Text, "预借");
if (this.dsinfo.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常11,请联系管理员处理。')</script>");
}
else
{
DataSet ds = this.dsinfo.ds;
this.dsinfo = null;
if (ds.Tables[0].Rows.Count > 0)
{
this.trinfo = this.sb_LendandreturnBLL.upLend_testing(ds, strManager);
if (this.trinfo.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('没有全部借出成功,请查询核对预借表及借出表。')</script>");
}
else
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('借出成功。')</script>");
}
string strTable = this.trinfo.strTable;
if (strTable != "")
{
base.Response.Redirect("login_lendprint.aspx?strIouid=" + strTable);
}
}
else
{
后面还有 288 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
