using Learun.Application.TwoDevelopment.EducationalAdministration; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Learun.Application.WorkFlow { public class StuDisciplineManageMethod : IWorkFlowMethod { StuDisciplineManagementIBLL stuDisciplineManagementIBLL = new StuDisciplineManagementBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { stuDisciplineManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId); } else { stuDisciplineManagementIBLL.ChangeStatusByProcessId("3", parameter.processId, parameter.userId); } } } }