Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

StuDisciplineManagementMethod.cs 888 B

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