FlowBaseInfoController.java 1.0 KB

123456789101112131415161718192021222324252627282930
  1. package com.ruoyi.web.controller.project;
  2. import com.ruoyi.common.core.controller.BaseController;
  3. import com.ruoyi.common.core.page.TableDataInfo;
  4. import com.ruoyi.invest.service.IFlowBaseInfoService;
  5. import io.swagger.annotations.ApiOperation;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.web.bind.annotation.GetMapping;
  8. import org.springframework.web.bind.annotation.PathVariable;
  9. import org.springframework.web.bind.annotation.RequestMapping;
  10. import org.springframework.web.bind.annotation.RestController;
  11. @RestController
  12. @RequestMapping("/project/flowBaseInfo")
  13. public class FlowBaseInfoController extends BaseController {
  14. @Autowired
  15. private IFlowBaseInfoService flowBaseInfoService;
  16. /**
  17. * 获取流程审批详细信息
  18. */
  19. @ApiOperation("获取流程详细信息")
  20. @GetMapping(value = "/{procInstId}")
  21. public TableDataInfo getInfo(@PathVariable("procInstId") String procInstId)
  22. {
  23. return getDataTable(flowBaseInfoService.searchFlowBaseInfoByProcInsId(procInstId));
  24. }
  25. }