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.

FundsApplyMethod.cs 693 B

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