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 ArrangeLessonTermAttemperMethod : IWorkFlowMethod { ArrangeLessonTermAttemperIBLL arrangeLessonTermAttemperIBLL = new ArrangeLessonTermAttemperBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { arrangeLessonTermAttemperIBLL.ModifyStatusByProcessId(2, parameter.processId); } else { arrangeLessonTermAttemperIBLL.ModifyStatusByProcessId(0, parameter.processId); } } } }