|
- using Learun.Application.TwoDevelopment.EducationalAdministration;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace Learun.Application.WorkFlow
- {
- public class StuCancelLeaveManageMethod : IWorkFlowMethod
- {
- StuCancelLeaveManagementIBLL stuCancelLeaveManagementIBLL = new StuCancelLeaveManagementBLL();
-
-
- public void Execute(WfMethodParameter parameter)
- {
- if (parameter.code == "agree")
- {
- stuCancelLeaveManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId);
- }
- else
- {
- stuCancelLeaveManagementIBLL.ChangeStatusByProcessId("3", parameter.processId, parameter.userId);
- }
- }
- }
- }
|