feat: There is no way the

This commit is contained in:
super_liu
2021-09-16 14:56:39 +08:00
parent b3e70132bd
commit 97ebfb6f6a
3 changed files with 14 additions and 0 deletions
@@ -17,6 +17,9 @@ import java.util.Set;
//@FeignClient(value = "shan6") //@FeignClient(value = "shan6")
public interface workFlowFeignClient { public interface workFlowFeignClient {
@RequestMapping(value = "/bat-wkflow/task/get_verify_by_instance",method = RequestMethod.GET)
long get_verify_by_instance(@RequestParam("taskId") String taskId, @RequestParam("pId") String pId);
@RequestMapping(value = "/bat-wkflow/activiti_define_start_user",method = RequestMethod.GET) @RequestMapping(value = "/bat-wkflow/activiti_define_start_user",method = RequestMethod.GET)
Wrapper<String> activiti_define_start(@RequestParam("id") String id, @RequestParam("userId") String userId, @RequestParam("bpnId") String bpnId); Wrapper<String> activiti_define_start(@RequestParam("id") String id, @RequestParam("userId") String userId, @RequestParam("bpnId") String bpnId);
@@ -25,6 +25,11 @@ public class workFlowFeignClientImpl {
@Autowired @Autowired
private IUserEOService userEOService; private IUserEOService userEOService;
public long get_verify_by_instance(@RequestParam("taskId") String taskId, @RequestParam("pId") String pId){
long stringWrapper = workFlowFeignClient.get_verify_by_instance(taskId,pId);
return stringWrapper;
}
public ResponseMessage activiti_define_start(@RequestParam("Id") String Id, @RequestParam("userId") String userId, @RequestParam("bpnId") String bpnId){ public ResponseMessage activiti_define_start(@RequestParam("Id") String Id, @RequestParam("userId") String userId, @RequestParam("bpnId") String bpnId){
Wrapper<String> stringWrapper = workFlowFeignClient.activiti_define_start(Id,userId,bpnId); Wrapper<String> stringWrapper = workFlowFeignClient.activiti_define_start(Id,userId,bpnId);
return Result.success(stringWrapper.getResult()); return Result.success(stringWrapper.getResult());
@@ -51,6 +51,12 @@ public class WorkFlowController {
// @Autowired // @Autowired
// private ExportExcelMapper exportExcelMapper; // private ExportExcelMapper exportExcelMapper;
@ApiOperation(value = "流程实例明细验证是否完成")
@GetMapping("/get_verify_by_instance")
public long activiti_define_start1(@RequestParam("taskId") String taskId, @RequestParam("pId") String pId){
return workFlowFeignClient.get_verify_by_instance(taskId,pId);
}
@ApiOperation(value = "导出excel") @ApiOperation(value = "导出excel")
@PostMapping("/export_excel") @PostMapping("/export_excel")
public void exportExcel(@RequestBody ExportExcelEO exportExcelEO, HttpServletResponse response, HttpServletRequest request) throws IOException { public void exportExcel(@RequestBody ExportExcelEO exportExcelEO, HttpServletResponse response, HttpServletRequest request) throws IOException {