Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
workflow-core
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
黄夏豪
workflow-core
Commits
661b7c24
提交
661b7c24
authored
3月 12, 2021
作者:
zhoushaopan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[工作流模块]解决删除流程的bug
上级
c465c0d1
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
3 行增加
和
3 行删除
+3
-3
FlowsInfoController.java
...wcore/workflow_editer/controller/FlowsInfoController.java
+0
-1
WorkFlowController.java
...owcore/workflow_editer/controller/WorkFlowController.java
+0
-1
FormPageServiceImpl.java
...ore/workflow_editer/service/impl/FormPageServiceImpl.java
+0
-1
WorkFlowServiceImpl.java
...ore/workflow_editer/service/impl/WorkFlowServiceImpl.java
+3
-0
没有找到文件。
src/main/java/com/tykj/workflowcore/workflow_editer/controller/FlowsInfoController.java
浏览文件 @
661b7c24
...
@@ -94,7 +94,6 @@ public class FlowsInfoController {
...
@@ -94,7 +94,6 @@ public class FlowsInfoController {
@PostMapping
(
"/updateByDesc"
)
@PostMapping
(
"/updateByDesc"
)
@ApiOperation
(
value
=
"通过流程描述修改"
)
@ApiOperation
(
value
=
"通过流程描述修改"
)
public
ResponseEntity
updateByDesc
(
@RequestBody
FlowsInfoVo
flowsInfoVo
)
{
public
ResponseEntity
updateByDesc
(
@RequestBody
FlowsInfoVo
flowsInfoVo
)
{
FlowsInfo
flowsInfo
=
flowInfoService
.
findByDesc
(
flowsInfoVo
);
FlowsInfo
flowsInfo
=
flowInfoService
.
findByDesc
(
flowsInfoVo
);
return
ResultUtil
.
success
(
flowsInfo
.
getFlowDescribe
(),
"流程修改成功"
);
return
ResultUtil
.
success
(
flowsInfo
.
getFlowDescribe
(),
"流程修改成功"
);
}
}
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/controller/WorkFlowController.java
浏览文件 @
661b7c24
...
@@ -95,7 +95,6 @@ public class WorkFlowController {
...
@@ -95,7 +95,6 @@ public class WorkFlowController {
@DeleteMapping
(
"/deleteFlow"
)
@DeleteMapping
(
"/deleteFlow"
)
@ApiOperation
(
"是否删除"
)
@ApiOperation
(
"是否删除"
)
public
ResponseEntity
deleteFlow
(
Long
id
){
public
ResponseEntity
deleteFlow
(
Long
id
){
workFlowService
.
deleteFlow
(
id
);
workFlowService
.
deleteFlow
(
id
);
return
ResultUtil
.
success
(
"该流程已被删除"
);
return
ResultUtil
.
success
(
"该流程已被删除"
);
}
}
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/service/impl/FormPageServiceImpl.java
浏览文件 @
661b7c24
...
@@ -69,7 +69,6 @@ public class FormPageServiceImpl implements FormPageService {
...
@@ -69,7 +69,6 @@ public class FormPageServiceImpl implements FormPageService {
@Override
@Override
public
Page
<
FormPage
>
getAllPages
(
PageFormPageVo
pageFormPageVo
)
{
public
Page
<
FormPage
>
getAllPages
(
PageFormPageVo
pageFormPageVo
)
{
ArrayList
<
OutFormPageVo
>
formPageVos
=
new
ArrayList
<>();
PredicateBuilder
<
FormPage
>
and
=
Specifications
.
and
();
PredicateBuilder
<
FormPage
>
and
=
Specifications
.
and
();
and
.
eq
(
pageFormPageVo
.
getPageName
()!=
null
,
"pageName"
,
pageFormPageVo
.
getPageName
());
and
.
eq
(
pageFormPageVo
.
getPageName
()!=
null
,
"pageName"
,
pageFormPageVo
.
getPageName
());
and
.
eq
(
pageFormPageVo
.
getPageDesc
()!=
null
,
"pageDesc"
,
pageFormPageVo
.
getPageDesc
());
and
.
eq
(
pageFormPageVo
.
getPageDesc
()!=
null
,
"pageDesc"
,
pageFormPageVo
.
getPageDesc
());
...
...
src/main/java/com/tykj/workflowcore/workflow_editer/service/impl/WorkFlowServiceImpl.java
浏览文件 @
661b7c24
...
@@ -357,10 +357,13 @@ public class WorkFlowServiceImpl implements WorkFlowService {
...
@@ -357,10 +357,13 @@ public class WorkFlowServiceImpl implements WorkFlowService {
public
void
deleteFlow
(
Long
id
)
{
public
void
deleteFlow
(
Long
id
)
{
//通过流程id查询出flowsInfo
//通过流程id查询出flowsInfo
FlowsInfo
flowsInfo
=
flowsInfoMapper
.
findById
(
id
).
get
();
FlowsInfo
flowsInfo
=
flowsInfoMapper
.
findById
(
id
).
get
();
if
(
flowsInfo
.
getState
()
==
0
){
flowsInfo
.
setState
(
1
);
flowsInfo
.
setState
(
1
);
flowsInfoMapper
.
save
(
flowsInfo
);
flowsInfoMapper
.
save
(
flowsInfo
);
}
}
}
@Override
@Override
public
void
flowProgress
(
HttpServletResponse
httpServletResponse
,
String
processId
)
throws
IOException
{
public
void
flowProgress
(
HttpServletResponse
httpServletResponse
,
String
processId
)
throws
IOException
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论