Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

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