Exemplo n.º 1
0
        public static DataTable GetPunishment(string studentid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();
            DataTable      dt  = sid.GetPunishment(studentid);

            return(dt);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 删除学籍异动记录
        /// </summary>
        /// <param name="changeid">异动记录id</param>
        /// <returns></returns>
        public static int  DeleteChange(string changeid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();
            int            i   = sid.DeleteChange(changeid);

            return(i);
        }
Exemplo n.º 3
0
        public static DataTable Get(string classID)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.Get(classID));
        }
Exemplo n.º 4
0
        public static DataTable GetStudentInfoByID(string studentID)
        {
            StudensInfoDAL sda = new StudensInfoDAL();

            return(sda.GetStudentInfoByID(studentID));
        }
Exemplo n.º 5
0
        public static DataTable GetStudentByClassid(string Classid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetStudentByClassid(Classid));
        }
Exemplo n.º 6
0
        public static bool InsertStudentsInfo(Students s)
        {
            StudensInfoDAL si = new StudensInfoDAL();

            return(si.InsertStudent(s));
        }
Exemplo n.º 7
0
        public static int InsertPunishment(int Recode_ID, string Type_ID, string StudentID, string Content, string Reason, string date)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.InsertAwards(Recode_ID, Type_ID, StudentID, Content, Reason, date));
        }
Exemplo n.º 8
0
        public static string GetSpeYearName(string SpecialityID)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetSpeYearsName(SpecialityID));
        }
Exemplo n.º 9
0
        /// <summary>
        /// 获取最大值
        /// </summary>
        /// <returns></returns>
        public static object GetMaxAward()
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetMaxAward());
        }
Exemplo n.º 10
0
        /// <summary>
        /// 删除处分记录
        /// </summary>
        /// <param name="punishmentid"></param>
        /// <returns></returns>
        public static int DeletePunishment(string punishmentid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.DelectPunishment(punishmentid));
        }
Exemplo n.º 11
0
        /// <summary>
        /// 编辑学生信息
        /// </summary>
        /// <param name="s"></param>
        /// <returns></returns>
        public static int UpdateStudentInfo(Students s)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.UpdateStudentInfo(s));
        }
Exemplo n.º 12
0
        /// <summary>
        /// 根据学生id删除学生信息
        /// </summary>
        /// <param name="studentid"></param>
        /// <returns></returns>
        public static int DeleteStudent(string studentid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.DeleteStudent(studentid));
        }
Exemplo n.º 13
0
        public static DataTable GetStudentsInfoByClassID(string classid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetStudentsInfoByClassID(classid));
        }
Exemplo n.º 14
0
        /// <summary>
        /// 删除获奖记录
        /// </summary>
        /// <param name="awardid"></param>
        /// <returns></returns>
        public static int DeleteAward(string awardid)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.DeleteAward(awardid));
        }
Exemplo n.º 15
0
        /// <summary>
        /// 获取异动类型
        /// </summary>
        /// <returns></returns>
        public static DataTable GetChangeType()
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetChangeType());
        }
Exemplo n.º 16
0
        /// <summary>
        /// 获取最小值
        /// </summary>
        /// <returns></returns>
        public static object GetMinPunishment()
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetMinPunishment());
        }
Exemplo n.º 17
0
        public static DataTable GetPunishmentAwardType()
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.GetPunishmentAwardType());
        }
Exemplo n.º 18
0
        /// <summary>
        /// 插入学籍异动记录
        /// </summary>
        /// <param name="typeid"></param>
        /// <param name="reason"></param>
        /// <param name="stuid"></param>
        /// <param name="date"></param>
        /// <returns></returns>
        public static int InsertChange(string typeid, string reason, string stuid, string date)
        {
            StudensInfoDAL sid = new StudensInfoDAL();

            return(sid.InsertChange(typeid, reason, stuid, date));
        }