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; }