mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-10-15 22:43:44 +08:00
Compare commits
2 Commits
5d356aa6c4
...
7c3316e116
Author | SHA1 | Date | |
---|---|---|---|
|
7c3316e116 | ||
|
8460316632 |
@@ -110,7 +110,7 @@ security:
|
|||||||
- /error
|
- /error
|
||||||
- /*/api-docs
|
- /*/api-docs
|
||||||
- /*/api-docs/**
|
- /*/api-docs/**
|
||||||
- /warm-flow-ui/token-name
|
- /warm-flow-ui/config
|
||||||
|
|
||||||
# 多租户配置
|
# 多租户配置
|
||||||
tenant:
|
tenant:
|
||||||
|
@@ -127,9 +127,9 @@ public class FlwInstanceController extends BaseController {
|
|||||||
*
|
*
|
||||||
* @param businessId 业务id
|
* @param businessId 业务id
|
||||||
*/
|
*/
|
||||||
@GetMapping("/flowImage/{businessId}")
|
@GetMapping("/flowHisTaskList/{businessId}")
|
||||||
public R<Map<String, Object>> flowImage(@PathVariable String businessId) {
|
public R<Map<String, Object>> flowHisTaskList(@PathVariable String businessId) {
|
||||||
return R.ok(flwInstanceService.flowImage(businessId));
|
return R.ok(flwInstanceService.flowHisTaskList(businessId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -107,7 +107,7 @@ public interface IFlwInstanceService {
|
|||||||
* @param businessId 业务id
|
* @param businessId 业务id
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
Map<String, Object> flowImage(String businessId);
|
Map<String, Object> flowHisTaskList(String businessId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 按照实例id更新状态
|
* 按照实例id更新状态
|
||||||
|
@@ -275,7 +275,7 @@ public class FlwInstanceServiceImpl implements IFlwInstanceService {
|
|||||||
* @param businessId 业务id
|
* @param businessId 业务id
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Object> flowImage(String businessId) {
|
public Map<String, Object> flowHisTaskList(String businessId) {
|
||||||
FlowInstance flowInstance = this.selectInstByBusinessId(businessId);
|
FlowInstance flowInstance = this.selectInstByBusinessId(businessId);
|
||||||
if (ObjectUtil.isNull(flowInstance)) {
|
if (ObjectUtil.isNull(flowInstance)) {
|
||||||
throw new ServiceException(ExceptionCons.NOT_FOUNT_INSTANCE);
|
throw new ServiceException(ExceptionCons.NOT_FOUNT_INSTANCE);
|
||||||
@@ -311,7 +311,7 @@ public class FlwInstanceServiceImpl implements IFlwInstanceService {
|
|||||||
if (CollUtil.isNotEmpty(flowHisTasks)) {
|
if (CollUtil.isNotEmpty(flowHisTasks)) {
|
||||||
list.addAll(BeanUtil.copyToList(flowHisTasks, FlowHisTaskVo.class));
|
list.addAll(BeanUtil.copyToList(flowHisTasks, FlowHisTaskVo.class));
|
||||||
}
|
}
|
||||||
return Map.of("list", list);
|
return Map.of("list", list,"instanceId",instanceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user