personnelbl.cs.svn-base

来自「医院医德医风管理系统 B/S架构」· SVN-BASE 代码 · 共 65 行

SVN-BASE
65
字号
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using System.Collections.Generic;

/// <summary>
/// PersonnelBL 的摘要说明
/// </summary>
public class PersonnelBL
{
	public PersonnelBL()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
	}
    public static List<Personnel> GetPersonnelListByUnitId(int unitId)
    {
        return PersonnelDAO.GetPersonnelListByUnitId(unitId);
    }
    public static Personnel GetPersonnelListById(int personnelId)
    {
        return PersonnelDAO.GetPersonnelListById(personnelId);
    }
    public static bool AddPersonnel(Personnel personnel)
    {
        return PersonnelDAO.AddPersonnel(personnel);
    }
    public static bool UpdatePersonnel(Personnel personnel)
    {
        return PersonnelDAO.UpdatePersonnel(personnel);
    }
    public static bool DelPersonnel(int personnelId)
    {
        return PersonnelDAO.DelPersonnel(personnelId); 
    }
    public static List<Personnel> GetPersonnelList(int unitId)
    {
        return PersonnelDAO.GetPersonnelList(unitId);
    }
    public static List<Personnel> GetPersonnelListA(int unitId)
    {
        return PersonnelDAO.GetPersonnelListA(unitId);
    }
    public static List<Personnel> GetPersonnelListB(int unitId)
    {
        return PersonnelDAO.GetPersonnelListB(unitId);
    }
    public static List<Personnel> GetPersonnelListByType(int unitId, string Type)
    {
        return PersonnelDAO.GetPersonnelListByType(unitId, Type);
    }
    public static List<Personnel> GetPersonnelListByYM(int Ydate, int Mdate)
    {
        return PersonnelDAO.GetPersonnelListByYM(Ydate, Mdate);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?