Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jz-dmp-service
Project
Project
Details
Activity
Releases
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
姚本章
jz-dmp-service
Commits
6db33892
Commit
6db33892
authored
Dec 31, 2020
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
69644f84
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
OfflineSynchController.java
...es/controller/DataIntegration/OfflineSynchController.java
+1
-1
OfflineSynchServiceImpl.java
.../jz/dmp/modules/service/impl/OfflineSynchServiceImpl.java
+1
-0
No files found.
src/main/java/com/jz/dmp/modules/controller/DataIntegration/OfflineSynchController.java
View file @
6db33892
...
@@ -190,7 +190,7 @@ public class OfflineSynchController {
...
@@ -190,7 +190,7 @@ public class OfflineSynchController {
* @return
* @return
*/
*/
@ApiOperation
(
value
=
"编辑离线任务数据"
,
notes
=
"编辑离线任务数据"
)
@ApiOperation
(
value
=
"编辑离线任务数据"
,
notes
=
"编辑离线任务数据"
)
@PostMapping
(
value
=
"/
add
SyncTask"
)
@PostMapping
(
value
=
"/
update
SyncTask"
)
public
JsonResult
updateSyncTask
(
@RequestBody
@Validated
SyncDmpTaskAddReq
syncDmpTaskAddReq
)
throws
Exception
{
public
JsonResult
updateSyncTask
(
@RequestBody
@Validated
SyncDmpTaskAddReq
syncDmpTaskAddReq
)
throws
Exception
{
JsonResult
list
=
offlineSynchService
.
updateSyncTask
(
syncDmpTaskAddReq
);
JsonResult
list
=
offlineSynchService
.
updateSyncTask
(
syncDmpTaskAddReq
);
return
list
;
return
list
;
...
...
src/main/java/com/jz/dmp/modules/service/impl/OfflineSynchServiceImpl.java
View file @
6db33892
...
@@ -443,6 +443,7 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
...
@@ -443,6 +443,7 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
if
(
reqParam
.
size
()
>
0
&&
reqParam
!=
null
)
{
if
(
reqParam
.
size
()
>
0
&&
reqParam
!=
null
)
{
JsonResult
jsonResult
=
addSyncing
(
reqParam
);
JsonResult
jsonResult
=
addSyncing
(
reqParam
);
DmpDevelopTask
data
=
(
DmpDevelopTask
)
jsonResult
.
getData
();
DmpDevelopTask
data
=
(
DmpDevelopTask
)
jsonResult
.
getData
();
//保存规则信息
saveRuleInfo
(
result
,
reqParam
,
jsonResult
,
String
.
valueOf
(
data
.
getId
()));
saveRuleInfo
(
result
,
reqParam
,
jsonResult
,
String
.
valueOf
(
data
.
getId
()));
}
}
return
new
JsonResult
(
ResultCode
.
SUCCESS
,
result
);
return
new
JsonResult
(
ResultCode
.
SUCCESS
,
result
);
...
...
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