WELOA.Web/sb/admin/login_return.aspx.cs

(开头部分) 10KB

这里只显示每个文件的开头 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;

namespace Web.sb.admin
{
    public partial class login_return : 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 LS_Staff staffBLL = new LS_Staff();
       
        private Polytechnic trinfo = new Polytechnic();

        
        protected void btReturn_Click(object sender, EventArgs e)
        {
            string strLenderid = this.lbStaffnumber.Text.Trim();
            string strManager = this.Manager();
            this.trinfo = this.sb_LendandreturnBLL.update_Return(strLenderid, 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_returnprint.aspx?strReceiptid=" + strTable);
            }
        }

        protected void btSelect_Click(object sender, EventArgs e)
        {
            string strManager = this.Manager();
            this.lbMessage.Text = "";
            string strZhengjian = this.tbNumber.Text.Trim();
            this.dsinfo = new DateSetInformation();
            if (this.lbStaffnumber.Text == "")
            {
                this.dsinfo = this.staffBLL.selectstaff_zhengjian(strZhengjian);
                if (this.dsinfo.nException > 0)
                {
                    this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常1,请联系管理员处理。')</script>");
                }
                else if (this.dsinfo.ds.Tables[0].Rows.Count > 0)
                {
后面还有 171 行代码,解锁后查看完整代码

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

AI 解读

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

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