Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
24bf2900
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1172
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
24bf2900
编写于
12月 11, 2018
作者:
qq624509330
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
ed1aa231
4ebfec0a
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
28927 addition
and
27499 deletion
+28927
-27499
logs/skyeye.log
logs/skyeye.log
+925
-27498
logs/skyeye.log.2018-12-10
logs/skyeye.log.2018-12-10
+27963
-0
skyeye-promote/src/main/java/com/skyeye/activiti/controller/ActivitiModelController.java
...m/skyeye/activiti/controller/ActivitiModelController.java
+16
-0
skyeye-promote/src/main/java/com/skyeye/activiti/service/ActivitiModelService.java
...ava/com/skyeye/activiti/service/ActivitiModelService.java
+2
-0
skyeye-promote/src/main/java/com/skyeye/activiti/service/impl/ActivitiModelServiceImpl.java
...kyeye/activiti/service/impl/ActivitiModelServiceImpl.java
+17
-0
skyeye-promote/src/main/resources/mapping/reqmapping.xml
skyeye-promote/src/main/resources/mapping/reqmapping.xml
+3
-0
skyeye-promote/src/main/resources/template/js/activitimodel/releasedactivitimodellist.js
...es/template/js/activitimodel/releasedactivitimodellist.js
+1
-1
未找到文件。
logs/skyeye.log
浏览文件 @
24bf2900
此差异已折叠。
点击以展开。
logs/skyeye.log.2018-12-10
0 → 100644
浏览文件 @
24bf2900
此差异已折叠。
点击以展开。
skyeye-promote/src/main/java/com/skyeye/activiti/controller/ActivitiModelController.java
浏览文件 @
24bf2900
...
...
@@ -127,4 +127,20 @@ public class ActivitiModelController {
activitiModelService
.
queryReleasedActivitiModelList
(
inputObject
,
outputObject
);
}
/**
*
* @Title: deleteReleasedActivitiModelById
* @Description: 取消发布
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping
(
"/post/ActivitiModelController/deleteReleasedActivitiModelById"
)
@ResponseBody
public
void
deleteReleasedActivitiModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
activitiModelService
.
deleteReleasedActivitiModelById
(
inputObject
,
outputObject
);
}
}
skyeye-promote/src/main/java/com/skyeye/activiti/service/ActivitiModelService.java
浏览文件 @
24bf2900
...
...
@@ -19,4 +19,6 @@ public interface ActivitiModelService {
public
void
queryReleasedActivitiModelList
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
public
void
deleteReleasedActivitiModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
;
}
skyeye-promote/src/main/java/com/skyeye/activiti/service/impl/ActivitiModelServiceImpl.java
浏览文件 @
24bf2900
...
...
@@ -233,6 +233,23 @@ public class ActivitiModelServiceImpl implements ActivitiModelService{
outputObject
.
setBeans
(
rows
);
outputObject
.
settotal
(
count
);
}
/**
*
* @Title: deleteReleasedActivitiModelById
* @Description: 取消发布
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public
void
deleteReleasedActivitiModelById
(
InputObject
inputObject
,
OutputObject
outputObject
)
throws
Exception
{
Map
<
String
,
Object
>
map
=
inputObject
.
getParams
();
String
deploymentId
=
map
.
get
(
"deploymentId"
).
toString
();
repositoryService
.
deleteDeployment
(
deploymentId
);
}
}
skyeye-promote/src/main/resources/mapping/reqmapping.xml
浏览文件 @
24bf2900
...
...
@@ -911,6 +911,9 @@
<property
id=
"limit"
name=
"limit"
ref=
"required,num"
var=
"分页参数,每页多少条数据"
/>
<property
id=
"page"
name=
"page"
ref=
"required,num"
var=
"分页参数,第几页"
/>
</url>
<url
id=
"activitimode008"
path=
"/post/ActivitiModelController/deleteReleasedActivitiModelById"
val=
"取消发布"
allUse=
"1"
>
<property
id=
"deploymentId"
name=
"deploymentId"
ref=
"required"
var=
"部署流程id"
/>
</url>
<!-- 工作流结束 -->
</controller>
\ No newline at end of file
skyeye-promote/src/main/resources/template/js/activitimodel/releasedactivitimodellist.js
浏览文件 @
24bf2900
...
...
@@ -62,7 +62,7 @@ layui.config({
layer
.
confirm
(
msg
,
{
icon
:
3
,
title
:
'
取消发布
'
},
function
(
index
)
{
layer
.
close
(
index
);
//向服务端发送删除指令
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
activitimode00
6
"
,
params
:{
row
Id
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
activitimode00
8
"
,
params
:{
deployment
Id
:
data
.
id
},
type
:
'
json
'
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
top
.
winui
.
window
.
msg
(
"
取消发布成功
"
,
{
icon
:
1
,
time
:
2000
});
loadTable
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录