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.

MeetingManagementApplyMethod.cs 863 B

2 years ago
12345678910111213141516171819202122232425262728
  1. using Learun.Application.TwoDevelopment.PersonnelManagement;
  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 MeetingManagementApplyMethod : IWorkFlowMethod
  10. {
  11. MeetingManagementIBLL meetingManagementIBLL = new MeetingManagementBLL();
  12. public void Execute(WfMethodParameter parameter)
  13. {
  14. if (parameter.code == "agree")
  15. {
  16. meetingManagementIBLL.ChangeStatusByProcessId(parameter.processId, "1", parameter.userId);
  17. meetingManagementIBLL.ReceivedList(parameter.processId);
  18. }
  19. else
  20. {
  21. meetingManagementIBLL.ChangeStatusByProcessId(parameter.processId, "2", parameter.userId);
  22. }
  23. }
  24. }
  25. }