WELOA.BLL/WEL/LS_Staff.cs

(开头部分) 16KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using LSDAL_SQL;
using System.Data;
using WELOA.Common;

namespace LSBLL
{
public class LS_Staff
{
    
    private DateSetInformation dsinfo = new DateSetInformation();
    private ls_publicclass publicclassDAO = new ls_publicclass();
    private ls_staffDAO staffDAO = new ls_staffDAO();
    private ls_stafflogDAO stafflogDAO = new ls_stafflogDAO();
    private Polytechnic trinfo = new Polytechnic();

    
    public Polytechnic clearstafflog(string strLoginId)
    {
        this.trinfo.nException = -1;
        int num = 0;
        this.dsinfo = new ls_informationDAO().selectinformation();
        if (this.dsinfo.nException > 0)
        {
            this.trinfo.nException = this.dsinfo.nException;
            return this.trinfo;
        }
        if ((this.dsinfo.ds.Tables[0].Rows.Count > 0) && (this.dsinfo.ds.Tables[0].Rows[0]["stafflognum"].ToString() != ""))
        {
            num = Convert.ToInt32(this.dsinfo.ds.Tables[0].Rows[0]["stafflognum"].ToString());
        }
        this.dsinfo = null;
        this.dsinfo = this.stafflogDAO.selectstafflog_Login(strLoginId);
        if (this.dsinfo.nException > 0)
        {
            this.trinfo.nException = this.dsinfo.nException;
            return this.trinfo;
        }
        if (num < this.dsinfo.ds.Tables[0].Rows.Count)
        {
            for (int i = num; i < this.dsinfo.ds.Tables[0].Rows.Count; i++)
            {
                int nid = Convert.ToInt32(this.dsinfo.ds.Tables[0].Rows[i]["id"].ToString());
                this.trinfo = this.stafflogDAO.delstafflog(nid);
                if (this.trinfo.nException > 0)
                {
                    return this.trinfo;
                }
            }
        }
        this.dsinfo = null;
        return this.trinfo;
    }

    public Polytechnic delstaff(int nid)
    {
后面还有 374 行代码,解锁后查看完整代码

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

AI 解读

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

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