添加周例会删除功能
This commit is contained in:
@@ -97,13 +97,22 @@ namespace WebAPI.Controllers
|
||||
#endregion
|
||||
|
||||
#region 根据ID删除会议
|
||||
// type C
|
||||
[HttpDelete]
|
||||
public Model.ResponeData DeleteMeeting(string meetingId)
|
||||
public Model.ResponeData DeleteMeeting(string meetingId, string type)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
BLL.ClassMeetingService.DeleteClassMeetingById(meetingId);
|
||||
if(type == "C")
|
||||
{
|
||||
|
||||
BLL.ClassMeetingService.DeleteClassMeetingById(meetingId);
|
||||
}
|
||||
if(type == "W")
|
||||
{
|
||||
BLL.ClassMeetingService.DeleteWeekMeetingById(meetingId);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user