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 DtStuLeaveMethod : IWorkFlowMethod
{
DtStuLeaveIBLL dtStuLeaveIBLL = new DtStuLeaveBLL();
///
/// 审核
///
///
public void Execute(WfMethodParameter parameter)
{
if (parameter.code == "agree")
{
dtStuLeaveIBLL.ModifyStatusByProcessId(2, parameter.processId);
}
else
{
dtStuLeaveIBLL.ModifyStatusByProcessId(0, parameter.processId);
}
}
}
}