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