📄 scorebl.cs.svn-base
字号:
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>
/// ScoreBL 的摘要说明
/// </summary>
public class ScoreBL
{
public ScoreBL()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
public static List<Score> GetAllScore(string year,string firstHalf,int personnelId)//获取所有分数
{
List<Score> list=ScoreDAO.GetAllScore(Convert.ToInt32(year), Convert.ToBoolean(firstHalf), personnelId);
return list;
}
public static List<Score> GetAllScoreSum(int year, int unitid)
{
return ScoreDAO.GetAllScoreSum(year, unitid);
}
public static Score GetAllScoreSumByPerID(int year, int per,string name)
{
return ScoreDAO.GetAllScoreSumByPerID(year, per, name);
}
public static bool SaveScores(Score[][] scs)
{
return ScoreDAO.SaveScores(scs);
}
public static List<Score> GetAllScoreCom(int y1, int m1, int y2, int m2, int perid)
{
return ScoreDAO.GetAllScoreCom(y1, m1, y2, m2, perid);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -