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