You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
847 B

  1. using Learun.Application.TwoDevelopment.PersonnelManagement;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Learun.Application.WorkFlow
  8. {
  9. public class TeacherCancelLeaveManageMethod : IWorkFlowMethod
  10. {
  11. TeacherCancelLeaveManagementIBLL teacherCancelLeaveManagementIBLL = new TeacherCancelLeaveManagementBLL();
  12. public void Execute(WfMethodParameter parameter)
  13. {
  14. if (parameter.code == "agree")
  15. {
  16. teacherCancelLeaveManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId);
  17. }
  18. else
  19. {
  20. teacherCancelLeaveManagementIBLL.ChangeStatusByProcessId("3", parameter.processId, parameter.userId);
  21. }
  22. }
  23. }
  24. }