public static List<OCClass> OCMoocClass_List(int OCID, string Key, int IsHistroy, int PageIndex, int PageSize) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<OCClass> OCMoocClassList = studyprogressbll.OCMoocClass_List(OCID, Key, IsHistroy, PageIndex, PageSize); return OCMoocClassList; }
public static List<OCMoocFile> OCMoocFile_StudyDesc_List(int OCID, int UserID, int ChapterID) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<OCMoocFile> OCMoocFileStudyDescList = studyprogressbll.OCMoocFile_StudyDesc_List(OCID, UserID, ChapterID); return OCMoocFileStudyDescList; }
public static List<TeachingClassStudent> OCMoocClassStudent_List(string key, int OCClassID, int Type, int LowThanRate, int PageIndex, int PageSize) { IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<TeachingClassStudent> OCMoocClassStudentList = studyprogressbll.OCMoocClassStudent_List(key, OCClassID, Type, LowThanRate, PageIndex, PageSize); return OCMoocClassStudentList; }
public static OCMooc OCMoocStudyStatusStudents_Get(int OCID) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); return studyprogressbll.OCMoocStudyStatusStudents_Get(OCID); //return OCMoocClassList; }
public static List<OCMoocStudyStudent> OCMoocStudyStudent_List(int OCID, int Type, string Year, string Month) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<OCMoocStudyStudent> OCMoocStudyStudentList = studyprogressbll.OCMoocStudyStudent_List(OCID, Type, Year, Month); return OCMoocStudyStudentList; }
public static TeachingClassStudent OCMoocStudent_StudyDesc_Get(int OCID, int UserID) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); TeachingClassStudent TeachingClassStudent = studyprogressbll.OCMoocStudent_StudyDesc_Get(OCID, UserID); return TeachingClassStudent; }
public static void OCMoocStudent_Drop(int OCID, string UserIDs) { if (!UserService.OC_IsRole(OCID)) { return; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); studyprogressbll.OCMoocStudent_Drop(OCID, UserIDs); }
public static List<OCMoocStudyStudent> OCMoocStudents_SendMsg_Batch(int OCID, int OCClassID, int Rate, string StudentUserIDs, string Title, string Conten, bool IsForMail, bool IsForSMS) { if (!UserService.OC_IsRole(OCID)) { return null; } int SendUserID = UserService.CurrentUser.UserID; IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<OCMoocStudyStudent> OCMoocStudents_SendMsg = studyprogressbll.OCMoocStudents_SendMsg(OCID, OCClassID, Rate, StudentUserIDs, Title, Conten, SendUserID, IsForMail, IsForSMS); return OCMoocStudents_SendMsg; }
public static List<OCMoocStudyStudent> OCMoocStudents_SendMsg(int OCID, int OCClassID, string StudentUserIDs) { if (!UserService.OC_IsRole(OCID)) { return null; } int SendUserID = UserService.CurrentUser.UserID; string Title = "MOOC学习"; string Conten = "你的MOOC学习进度较慢,请加紧学习!"; IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<OCMoocStudyStudent> OCMoocStudents_SendMsg = studyprogressbll.OCMoocStudents_SendMsg(OCID, OCClassID, -1, StudentUserIDs, Title, Conten, SendUserID, false, false); return OCMoocStudents_SendMsg; }
public static List<Chapter> OCMoocStudentChapterTest_List(int OCID, int UserID) { if (!UserService.OC_IsRole(OCID)) { return null; } IStudyProgressBLL studyprogressbll = new StudyProgressBLL(); List<Chapter> OCMoocStudentChapterTestList = studyprogressbll.OCMoocStudentChapterTest_List(OCID, UserID); return OCMoocStudentChapterTestList; }