using Learun.Application.TwoDevelopment.EducationalAdministration; using Learun.Application.TwoDevelopment.LogisticsManagement; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Learun.Application.WorkFlow { public class PurchaseTravelApplyMethod : IWorkFlowMethod { Purchase_Travel_ApplyIBLL purchase_TravelapplyIBLL = new Purchase_Travel_ApplyBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { purchase_TravelapplyIBLL.ModifyStatusByProcessId(2, parameter.processId); } else { purchase_TravelapplyIBLL.ModifyStatusByProcessId(0, parameter.processId); } } } }