Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

28 rader
693 B

  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. }