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
774 B

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