using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Learun.Application.TwoDevelopment.AssetManagementSystem; namespace Learun.Application.WorkFlow { public class FundsApplyMethod : IWorkFlowMethod { FundsApplyIBLL fundsApply = new FundsApplyBLL(); public void Execute(WfMethodParameter parameter) { if (parameter.code == "agree") { fundsApply.ChangeStatusByProcessId(parameter.processId, 2); } else { fundsApply.ChangeStatusByProcessId(parameter.processId, 0); } } } }