No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

27 líneas
822 B

  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 StuDisciplineManageMethod : IWorkFlowMethod
  10. {
  11. StuDisciplineManagementIBLL stuDisciplineManagementIBLL = new StuDisciplineManagementBLL();
  12. public void Execute(WfMethodParameter parameter)
  13. {
  14. if (parameter.code == "agree")
  15. {
  16. stuDisciplineManagementIBLL.ChangeStatusByProcessId("2", parameter.processId, parameter.userId);
  17. }
  18. else
  19. {
  20. stuDisciplineManagementIBLL.ChangeStatusByProcessId("3", parameter.processId, parameter.userId);
  21. }
  22. }
  23. }
  24. }