WELOA.BLL/WEL/LS_Departmentandpost.cs

(开头部分) 2KB

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

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

namespace LSBLL
{
public class LS_Departmentandpost
{
    
    private ls_departmentDAO departDAO = new ls_departmentDAO();
    private ls_postDAO postDAOs = new ls_postDAO();
    private Polytechnic trinfo = new Polytechnic();

    
    public Polytechnic deldepartment(string strDepartment)
    {
        this.trinfo = this.departDAO.deldepartment(strDepartment);
        return this.trinfo;
    }

    public Polytechnic delpost(string strPost)
    {
        this.trinfo = this.postDAOs.delpost(strPost);
        return this.trinfo;
    }

    public Polytechnic insdepartment(string strDepartment)
    {
        this.trinfo = this.departDAO.selectconn(strDepartment);
        if ((this.trinfo.nException <= 0) && (this.trinfo.rowscount <= 0))
        {
            this.trinfo = this.departDAO.insdepartment(strDepartment);
        }
        return this.trinfo;
    }

    public Polytechnic inspost(string strPost)
    {
        this.trinfo = this.postDAOs.selectconn(strPost);
        if ((this.trinfo.nException <= 0) && (this.trinfo.rowscount <= 0))
        {
            this.trinfo = this.postDAOs.inspost(strPost);
        }
        return this.trinfo;
    }

    public DateSetInformation selectdepartment()
    {
        return this.departDAO.selectdepartment();
    }

    public DateSetInformation selectpost()
    {
        return this.postDAOs.selectpost();
    }

    public Polytechnic updatedepartment(string oldstrdepartmetn, string newstrdepartment)
后面还有 20 行代码,解锁后查看完整代码

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

AI 解读

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

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