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.
 
 
 
 
 
 

29 lines
824 B

  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 TextBookIndentMethod : IWorkFlowMethod
  11. {
  12. TextBookIndentIBLL textbookindentManagementIBLL = new TextBookIndentBLL();
  13. public void Execute(WfMethodParameter parameter)
  14. {
  15. if (parameter.code == "agree")
  16. {
  17. textbookindentManagementIBLL.ChangeStatusByProcessId(2, parameter.processId);
  18. }
  19. else
  20. {
  21. textbookindentManagementIBLL.ChangeStatusByProcessId(0, parameter.processId);
  22. }
  23. }
  24. }
  25. }