WorkflowEngineController.cs 681 B

12345678910111213141516171819202122232425262728
  1. using Microsoft.AspNetCore.Http;
  2. using Microsoft.AspNetCore.Mvc;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Threading.Tasks;
  7. using wispro.sp.entity.workflowInstance;
  8. namespace wispro.sp.api.Controllers
  9. {
  10. [Route("api/[controller]")]
  11. [ApiController]
  12. public class WorkflowEngineController : ControllerBase
  13. {
  14. public void DoAction(int instanceId,int stepId,int ActionId,List<stepInputValue> inputValues)
  15. {
  16. //1、取实例对象
  17. //2、取步骤对象
  18. //3、判断Action定义对象
  19. //4、判断输入值合法性
  20. //5、保存数据
  21. }
  22. }
  23. }