add 流程人员信息
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ import io.swagger.annotations.Api;
|
|||||||
* @Date: 2023-11-01
|
* @Date: 2023-11-01
|
||||||
* @Version: V1.0
|
* @Version: V1.0
|
||||||
*/
|
*/
|
||||||
@Api(tags="标准法规入库_变更流程")
|
@Api(tags="fb标准法规入库_变更流程")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/process/fb/processFbEntryChange")
|
@RequestMapping("/process/fb/processFbEntryChange")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
|||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
package com.jero.modules.activiti.process.fb.controller;
|
||||||
|
|
||||||
|
import com.jero.common.api.vo.Result;
|
||||||
|
import com.jero.common.aspect.annotation.DictPoint;
|
||||||
|
import com.jero.modules.activiti.entity.ProcessNode;
|
||||||
|
import com.jero.modules.activiti.mapper.ProcessNodeMapper;
|
||||||
|
import com.jero.modules.activiti.process.fb.service.IProcessHandleService;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiImplicitParam;
|
||||||
|
import io.swagger.annotations.ApiImplicitParams;
|
||||||
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: liao
|
||||||
|
* @Date: 2023/11/7 17:20
|
||||||
|
* @Description: 流程信息
|
||||||
|
*/
|
||||||
|
@Api(tags="fb流程信息")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/process/fb/processFbInfo")
|
||||||
|
@Slf4j
|
||||||
|
public class ProcessFbInfoController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private ProcessNodeMapper processNodeMapper;
|
||||||
|
@Resource
|
||||||
|
private IProcessHandleService processHandleService;
|
||||||
|
|
||||||
|
@DictPoint
|
||||||
|
@GetMapping("/getNodeList")
|
||||||
|
@ApiImplicitParams({
|
||||||
|
@ApiImplicitParam(name = "processDefinitionKey", value = "流程定义key"),
|
||||||
|
@ApiImplicitParam(name = "processInstanceId", value = "流程实例id(这个参数会去查绑定好的用户)")
|
||||||
|
})
|
||||||
|
@ApiOperation("获得节点列表")
|
||||||
|
public Result<List<ProcessNode>> getNodeList(String processDefinitionKey, String processInstanceId) {
|
||||||
|
String processDefinitionId = processHandleService.getDefinitionIdByKey(processDefinitionKey);
|
||||||
|
//查询节点信息
|
||||||
|
List<ProcessNode> processNodeList = processNodeMapper.selectByIdPdIdAndPiId(processDefinitionId,processInstanceId);
|
||||||
|
return Result.OK(processNodeList);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+1
-1
@@ -15,7 +15,7 @@ import io.swagger.annotations.Api;
|
|||||||
* @Date: 2023-11-07
|
* @Date: 2023-11-07
|
||||||
* @Version: V1.0
|
* @Version: V1.0
|
||||||
*/
|
*/
|
||||||
@Api(tags="标准征求意见流程表")
|
@Api(tags="fb标准征求意见流程表")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/process/fb/processFbStandardConsultation")
|
@RequestMapping("/process/fb/processFbStandardConsultation")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
|||||||
Reference in New Issue
Block a user