Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datacollector
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenweisong
datacollector
Commits
9d131d2c
Commit
9d131d2c
authored
Apr 07, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
24b5de0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
TaskController.java
...in/java/com/keymobile/rest/controller/TaskController.java
+1
-1
No files found.
src/main/java/com/keymobile/rest/controller/TaskController.java
View file @
9d131d2c
...
...
@@ -212,7 +212,7 @@ public class TaskController {
public
Object
runTask
(
@PathVariable
long
taskId
)
{
Activity
activity
=
activityService
.
findById
(
taskId
);
CommonValidator
.
notNull
(
activity
,
"活动不存在"
);
CommonValidator
.
isTrue
(
activity
.
getStatus
()
==
Activity
.
STATUS_
WAIT
,
"活动正在运行,不能重复启动"
);
CommonValidator
.
isTrue
(
activity
.
getStatus
()
==
Activity
.
STATUS_
BEGIN
,
"活动正在运行,不能重复启动"
);
// 根据活动查找需要填写的人 目前只支持一人
List
<
Template
>
templateList
=
activity
.
getTemplateList
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment