using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Learun.Application.TwoDevelopment.EducationalAdministration;
namespace Learun.Application.WorkFlow
{
public class DispatchMethod : IWorkFlowMethod
{
DispatchIBLL aispatchIBLL = new DispatchBLL();
///
/// 审核
///
///
public void Execute(WfMethodParameter parameter)
{
if (parameter.code == "agree")
{
aispatchIBLL.ModifyStatusByProcessId(2, parameter.processId);
}
else
{
aispatchIBLL.ModifyStatusByProcessId(0, parameter.processId);
}
}
}
}