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.

StuCancelDisciplineManageMethod.cs 858 B

1234567891011121314151617181920212223242526
  1. using Learun.Application.TwoDevelopment.EducationalAdministration;
  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 StuCancelDisciplineManageMethod : IWorkFlowMethod
  10. {
  11. StuCancelDisciplineManagementIBLL stuCancelDisciplineManagementIBLL = new StuCancelDisciplineManagementBLL();
  12. public void Execute(WfMethodParameter parameter)
  13. {
  14. if (parameter.code == "agree")
  15. {
  16. stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId);
  17. }
  18. else
  19. {
  20. stuCancelDisciplineManagementIBLL.ChangeStatusByProcessId("3", parameter.processId, parameter.userId);
  21. }
  22. }
  23. }
  24. }