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
bbd39904
Commit
bbd39904
authored
Apr 03, 2020
by
chenweisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
62b01d63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ExcelController.java
...n/java/com/keymobile/rest/controller/ExcelController.java
+2
-3
No files found.
src/main/java/com/keymobile/rest/controller/ExcelController.java
View file @
bbd39904
...
@@ -44,11 +44,10 @@ public class ExcelController {
...
@@ -44,11 +44,10 @@ public class ExcelController {
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"taskId"
,
required
=
true
,
value
=
"补录任务id"
,
dataType
=
"string"
,
paramType
=
"query"
),
@ApiImplicitParam
(
name
=
"taskId"
,
required
=
true
,
value
=
"补录任务id"
,
dataType
=
"string"
,
paramType
=
"query"
),
@ApiImplicitParam
(
name
=
"excelId"
,
required
=
true
,
value
=
"当前模板id"
,
dataType
=
"long"
,
paramType
=
"query"
),
@ApiImplicitParam
(
name
=
"excelId"
,
required
=
true
,
value
=
"当前模板id"
,
dataType
=
"long"
,
paramType
=
"query"
),
@ApiImplicitParam
(
name
=
"dataStr"
,
required
=
true
,
value
=
"当前数据字符"
,
dataType
=
"string"
,
paramType
=
"
quer
y"
)
@ApiImplicitParam
(
name
=
"dataStr"
,
required
=
true
,
value
=
"当前数据字符"
,
dataType
=
"string"
,
paramType
=
"
bod
y"
)
})
})
@PostMapping
(
value
=
"/excel/saveData"
)
@PostMapping
(
value
=
"/excel/saveData"
)
public
Object
saveTemplateData
(
String
taskId
,
long
excelId
,
String
dataStr
)
{
public
Object
saveTemplateData
(
String
taskId
,
long
excelId
,
@RequestBody
String
dataStr
)
{
Task
task
=
taskService
.
createTaskQuery
().
taskId
(
taskId
).
singleResult
();
Task
task
=
taskService
.
createTaskQuery
().
taskId
(
taskId
).
singleResult
();
CommonValidator
.
notNull
(
task
,
"任务不存在"
);
CommonValidator
.
notNull
(
task
,
"任务不存在"
);
Template
template
=
templateService
.
findById
(
excelId
);
Template
template
=
templateService
.
findById
(
excelId
);
...
...
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