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.
 
 
 
 
 
 

38 lines
1.1 KiB

  1. using Learun.Application.TwoDevelopment.EducationalAdministration;
  2. using Learun.Application.TwoDevelopment.LogisticsManagement;
  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 PurchaseEduApplyMethod : IWorkFlowMethod
  11. {
  12. Purchase_Edu_ApplyIBLL purchase_EduapplyIBLL = new Purchase_Edu_ApplyBLL();
  13. public void Execute(WfMethodParameter parameter)
  14. {
  15. if (parameter.code == "agree")
  16. {
  17. purchase_EduapplyIBLL.ModifyStatusByProcessId(2, parameter.processId);
  18. }
  19. else if (parameter.code == "disagree")
  20. {
  21. purchase_EduapplyIBLL.ModifyStatusByProcessId(3, parameter.processId);
  22. }
  23. else
  24. {
  25. purchase_EduapplyIBLL.ModifyStatusByProcessId(0, parameter.processId);
  26. }
  27. //else
  28. //{
  29. // purchase_EduapplyIBLL.ModifyStatusByProcessId(0, parameter.processId);
  30. //}
  31. }
  32. }
  33. }