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 PurchasePrintMethod : IWorkFlowMethod { Purchase_PrintIBLL purchase_PrintIBLL = new Purchase_PrintBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { purchase_PrintIBLL.ModifyStatusByProcessId(2, parameter.processId); } else if (parameter.code == "disagree") { purchase_PrintIBLL.ModifyStatusByProcessId(3, parameter.processId); } else { purchase_PrintIBLL.ModifyStatusByProcessId(0, parameter.processId); } //else //{ // purchase_PrintIBLL.ModifyStatusByProcessId(0, parameter.processId); //} } } }