Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
04f64939
提交
04f64939
authored
1月 23, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改找不到ID的问题
上级
070bc6c0
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
13 行删除
+13
-13
FlowDefinitionController.java
...modules/flowable/controller/FlowDefinitionController.java
+8
-8
FlowInstanceController.java
...g/modules/flowable/controller/FlowInstanceController.java
+1
-1
FlowTaskController.java
...jeecg/modules/flowable/controller/FlowTaskController.java
+4
-4
没有找到文件。
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/controller/FlowDefinitionController.java
浏览文件 @
04f64939
...
@@ -79,7 +79,7 @@ public class FlowDefinitionController {
...
@@ -79,7 +79,7 @@ public class FlowDefinitionController {
return
Result
.
OK
(
"导入成功"
);
return
Result
.
OK
(
"导入成功"
);
}
}
@GetMapping
(
"/readXml
/{deployId}
"
)
@GetMapping
(
"/readXml"
)
public
Result
readXml
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
)
{
public
Result
readXml
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
)
{
try
{
try
{
return
flowDefinitionService
.
readXml
(
deployId
);
return
flowDefinitionService
.
readXml
(
deployId
);
...
@@ -89,7 +89,7 @@ public class FlowDefinitionController {
...
@@ -89,7 +89,7 @@ public class FlowDefinitionController {
}
}
@GetMapping
(
"/readXmlByDataId
/{dataId}
"
)
@GetMapping
(
"/readXmlByDataId"
)
public
Result
readXmlByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
)
{
public
Result
readXmlByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
)
{
try
{
try
{
return
flowDefinitionService
.
readXmlByDataId
(
dataId
);
return
flowDefinitionService
.
readXmlByDataId
(
dataId
);
...
@@ -99,7 +99,7 @@ public class FlowDefinitionController {
...
@@ -99,7 +99,7 @@ public class FlowDefinitionController {
}
}
@GetMapping
(
"/readImage
/{deployId}
"
)
@GetMapping
(
"/readImage"
)
public
void
readImage
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
,
HttpServletResponse
response
)
{
public
void
readImage
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
,
HttpServletResponse
response
)
{
OutputStream
os
=
null
;
OutputStream
os
=
null
;
BufferedImage
image
=
null
;
BufferedImage
image
=
null
;
...
@@ -125,7 +125,7 @@ public class FlowDefinitionController {
...
@@ -125,7 +125,7 @@ public class FlowDefinitionController {
}
}
@GetMapping
(
"/readImageByDataId
/{dataId}
"
)
@GetMapping
(
"/readImageByDataId"
)
public
void
readImageByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
,
HttpServletResponse
response
)
{
public
void
readImageByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
,
HttpServletResponse
response
)
{
OutputStream
os
=
null
;
OutputStream
os
=
null
;
BufferedImage
image
=
null
;
BufferedImage
image
=
null
;
...
@@ -174,20 +174,20 @@ public class FlowDefinitionController {
...
@@ -174,20 +174,20 @@ public class FlowDefinitionController {
return
Result
.
OK
(
"导入成功"
);
return
Result
.
OK
(
"导入成功"
);
}
}
@PostMapping
(
"/startByProcDefId
/{procDefId}
"
)
@PostMapping
(
"/startByProcDefId"
)
public
Result
startByProcDefId
(
@RequestParam
(
value
=
"procDefId"
)
String
procDefId
,
public
Result
startByProcDefId
(
@RequestParam
(
value
=
"procDefId"
)
String
procDefId
,
@RequestBody
Map
<
String
,
Object
>
variables
)
{
@RequestBody
Map
<
String
,
Object
>
variables
)
{
return
flowDefinitionService
.
startProcessInstanceById
(
procDefId
,
variables
);
return
flowDefinitionService
.
startProcessInstanceById
(
procDefId
,
variables
);
}
}
@PostMapping
(
"/startByProcDefKey
/{procDefKey}
"
)
@PostMapping
(
"/startByProcDefKey"
)
public
Result
startByProcDefKey
(
@RequestParam
(
value
=
"procDefKey"
)
String
procDefKey
,
public
Result
startByProcDefKey
(
@RequestParam
(
value
=
"procDefKey"
)
String
procDefKey
,
@RequestBody
Map
<
String
,
Object
>
variables
)
{
@RequestBody
Map
<
String
,
Object
>
variables
)
{
return
flowDefinitionService
.
startProcessInstanceByKey
(
procDefKey
,
variables
);
return
flowDefinitionService
.
startProcessInstanceByKey
(
procDefKey
,
variables
);
}
}
@PostMapping
(
"/startByDataId
/{dataId}
"
)
@PostMapping
(
"/startByDataId"
)
public
Result
startByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
,
public
Result
startByDataId
(
@RequestParam
(
value
=
"dataId"
)
String
dataId
,
@RequestBody
Map
<
String
,
Object
>
variables
)
{
@RequestBody
Map
<
String
,
Object
>
variables
)
{
variables
.
put
(
"dataId"
,
dataId
);
variables
.
put
(
"dataId"
,
dataId
);
...
@@ -249,7 +249,7 @@ public class FlowDefinitionController {
...
@@ -249,7 +249,7 @@ public class FlowDefinitionController {
return
Result
.
OK
(
arylist
);
return
Result
.
OK
(
arylist
);
}
}
@PostMapping
(
"/startByDeployId
/{deployId}
"
)
@PostMapping
(
"/startByDeployId"
)
public
Result
startByDeployId
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
,
public
Result
startByDeployId
(
@RequestParam
(
value
=
"deployId"
)
String
deployId
,
@RequestBody
Map
<
String
,
Object
>
variables
)
{
@RequestBody
Map
<
String
,
Object
>
variables
)
{
return
flowDefinitionService
.
startProcessInstanceByDeployId
(
deployId
,
variables
);
return
flowDefinitionService
.
startProcessInstanceByDeployId
(
deployId
,
variables
);
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/controller/FlowInstanceController.java
浏览文件 @
04f64939
...
@@ -53,7 +53,7 @@ public class FlowInstanceController {
...
@@ -53,7 +53,7 @@ public class FlowInstanceController {
return
Result
.
OK
();
return
Result
.
OK
();
}
}
@DeleteMapping
(
value
=
"/delete
/{instanceIds}
"
)
@DeleteMapping
(
value
=
"/delete"
)
public
Result
delete
(
@PathVariable
String
[]
instanceIds
,
public
Result
delete
(
@PathVariable
String
[]
instanceIds
,
@RequestParam
(
required
=
false
)
String
deleteReason
)
{
@RequestParam
(
required
=
false
)
String
deleteReason
)
{
for
(
String
instanceId
:
instanceIds
)
{
for
(
String
instanceId
:
instanceIds
)
{
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-flowable/src/main/java/org/jeecg/modules/flowable/controller/FlowTaskController.java
浏览文件 @
04f64939
...
@@ -69,7 +69,7 @@ public class FlowTaskController {
...
@@ -69,7 +69,7 @@ public class FlowTaskController {
}
}
*/
*/
@GetMapping
(
value
=
"/processVariables
/{taskId}
"
)
@GetMapping
(
value
=
"/processVariables"
)
public
Result
processVariables
(
@PathVariable
(
value
=
"taskId"
)
String
taskId
)
{
public
Result
processVariables
(
@PathVariable
(
value
=
"taskId"
)
String
taskId
)
{
return
flowTaskService
.
processVariables
(
taskId
);
return
flowTaskService
.
processVariables
(
taskId
);
}
}
...
@@ -158,7 +158,7 @@ public class FlowTaskController {
...
@@ -158,7 +158,7 @@ public class FlowTaskController {
return
flowTaskService
.
getNextFlowNodeByStart
(
flowTaskVo
);
return
flowTaskService
.
getNextFlowNodeByStart
(
flowTaskVo
);
}
}
@RequestMapping
(
"/diagram
/{processId}
"
)
@RequestMapping
(
"/diagram"
)
public
void
genProcessDiagram
(
HttpServletResponse
response
,
public
void
genProcessDiagram
(
HttpServletResponse
response
,
@PathVariable
(
"processId"
)
String
processId
)
{
@PathVariable
(
"processId"
)
String
processId
)
{
InputStream
inputStream
=
flowTaskService
.
diagram
(
processId
);
InputStream
inputStream
=
flowTaskService
.
diagram
(
processId
);
...
@@ -190,7 +190,7 @@ public class FlowTaskController {
...
@@ -190,7 +190,7 @@ public class FlowTaskController {
*
*
* @param procInsId 任务ID
* @param procInsId 任务ID
*/
*/
@RequestMapping
(
"/flowViewer
/{procInsId}
"
)
@RequestMapping
(
"/flowViewer"
)
public
Result
getFlowViewer
(
@PathVariable
(
"procInsId"
)
String
procInsId
)
{
public
Result
getFlowViewer
(
@PathVariable
(
"procInsId"
)
String
procInsId
)
{
return
Result
.
OK
(
flowTaskService
.
getFlowViewer
(
procInsId
));
return
Result
.
OK
(
flowTaskService
.
getFlowViewer
(
procInsId
));
}
}
...
@@ -199,7 +199,7 @@ public class FlowTaskController {
...
@@ -199,7 +199,7 @@ public class FlowTaskController {
*
*
* @param dataId 任务数据ID
* @param dataId 任务数据ID
*/
*/
@RequestMapping
(
"/flowViewerByDataId
/{dataId}
"
)
@RequestMapping
(
"/flowViewerByDataId"
)
public
Result
getFlowViewerByDataId
(
@PathVariable
(
"dataId"
)
String
dataId
)
{
public
Result
getFlowViewerByDataId
(
@PathVariable
(
"dataId"
)
String
dataId
)
{
return
Result
.
OK
(
flowTaskService
.
getFlowViewerByDataId
(
dataId
));
return
Result
.
OK
(
flowTaskService
.
getFlowViewerByDataId
(
dataId
));
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论