WELOA.BLL/WEL/LS_Login_Notice.cs

(开头部分) 5KB

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

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

namespace LSBLL
{
public class LS_Login_Notice
{
    
    private DateSetInformation dsinfo = new DateSetInformation();
    private ls_noticeDAO noticeDAO = new ls_noticeDAO();
    private Polytechnic trinfo = new Polytechnic();

    
    public Polytechnic delnotice(int id)
    {
        this.trinfo = this.noticeDAO.delnotice(id);
        return this.trinfo;
    }

    public Polytechnic delnotice(int nIdStar, int nIdEnd)
    {
        this.trinfo = this.noticeDAO.delnotice(nIdStar, nIdEnd);
        return this.trinfo;
    }

    public Polytechnic insnotice(string strNoticetitle, string strNoticecontent, string strDepartment, string strNoticemanages, string strManagerid, string strNoviceview, string strFileIsSelected)
    {
        this.trinfo = this.noticeDAO.insnotice(strNoticetitle, strNoticecontent, strDepartment, strNoticemanages, strManagerid, strNoviceview, strFileIsSelected);
        return this.trinfo;
    }

    public IsPage PageHtml(int Record_Per_Page, int nPage, string strPageName)
    {
        IsPage IsPage = new IsPage {
            nException = -1
        };
        Polytechnic Polytechnic = this.noticeDAO.selectrowscount();
        if (Polytechnic.nException > 0)
        {
            IsPage.nException = Polytechnic.nException;
            return IsPage;
        }
        string strConditions = "";
        IsPage IsPage3 = new LS_IsPage().AllowpageList(Polytechnic.rowscount, Record_Per_Page, nPage, strPageName, strConditions);
        IsPage.strHtml = IsPage3.strHtml;
        return IsPage;
    }

    public IsPage PageHtml(int Record_Per_Page, int nPage, string strPageName, string strDepartment)
    {
        IsPage IsPage = new IsPage {
            nException = -1
        };
        Polytechnic Polytechnic = this.noticeDAO.selectrowscount_department(strDepartment);
        if (Polytechnic.nException > 0)
        {
后面还有 107 行代码,解锁后查看完整代码

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

AI 解读

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

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