using Learun.Application.TwoDevelopment.CustomFunction; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Learun.Application.WorkFlow { public class PaymentAccountMethod : IWorkFlowMethod { PaymentAccountIBLL paymentAccountIBLL = new PaymentAccountBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { paymentAccountIBLL.ChangeStatusByProcessId(parameter.processId, "2"); } else { paymentAccountIBLL.ChangeStatusByProcessId(parameter.processId, "3"); } } } }