using Learun.Application.TwoDevelopment.EducationalAdministration; using Learun.Application.TwoDevelopment.PersonnelManagement; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Learun.Application.WorkFlow { public class StuCancelDisciplineManagementMethod : IWorkFlowMethod { StuCancelDisciplineManagementIBLL stuCancelDisciplineManagementIBLL = new StuCancelDisciplineManagementBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId); } else { stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("0", parameter.processId, parameter.userId); } } } }