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
9f6b65bf
Commit
9f6b65bf
authored
Dec 24, 2020
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8fd23e42
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
0 deletions
+48
-0
OfflineSynchController.java
...es/controller/DataIntegration/OfflineSynchController.java
+12
-0
SyncDmpTaskAddReq.java
...es/controller/DataIntegration/bean/SyncDmpTaskAddReq.java
+29
-0
OfflineSynchService.java
.../java/com/jz/dmp/modules/service/OfflineSynchService.java
+2
-0
OfflineSynchServiceImpl.java
.../jz/dmp/modules/service/impl/OfflineSynchServiceImpl.java
+5
-0
No files found.
src/main/java/com/jz/dmp/modules/controller/DataIntegration/OfflineSynchController.java
View file @
9f6b65bf
...
...
@@ -171,4 +171,16 @@ public class OfflineSynchController {
}
return
pageInfo
;
}
/**
* 保存离线任务数据
*
* @return
*/
@ApiOperation
(
value
=
"保存离线任务数据"
,
notes
=
"保存离线任务数据"
)
@PostMapping
(
value
=
"/addSyncTask"
)
public
JsonResult
addSyncTask
(
@RequestBody
@Validated
SyncDmpTaskAddReq
syncDmpTaskAddReq
)
throws
Exception
{
JsonResult
list
=
offlineSynchService
.
addSyncTask
(
syncDmpTaskAddReq
);
return
list
;
}
}
src/main/java/com/jz/dmp/modules/controller/DataIntegration/bean/SyncDmpTaskAddReq.java
0 → 100644
View file @
9f6b65bf
package
com
.
jz
.
dmp
.
modules
.
controller
.
DataIntegration
.
bean
;
import
io.swagger.annotations.ApiModel
;
import
javax.validation.constraints.NotEmpty
;
import
java.io.Serializable
;
import
java.util.List
;
import
java.util.Map
;
/**
* @DATE: 2020-12-24/11:10
* @Description: 添加任务请求体
**/
@ApiModel
(
value
=
"添加任务请求对象"
,
description
=
"添加任务对象"
)
public
class
SyncDmpTaskAddReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
4286346100382139287L
;
@NotEmpty
(
message
=
"入参不能为空"
)
private
List
<
Map
<
String
,
Object
>>
params
;
public
List
<
Map
<
String
,
Object
>>
getParams
()
{
return
params
;
}
public
void
setParams
(
List
<
Map
<
String
,
Object
>>
params
)
{
this
.
params
=
params
;
}
}
src/main/java/com/jz/dmp/modules/service/OfflineSynchService.java
View file @
9f6b65bf
...
...
@@ -35,4 +35,6 @@ public interface OfflineSynchService {
JsonResult
querySoureAndTargetColumnsByParams
(
SoureAndTargetColumnsReq
soureAndTargetColumnsReq
)
throws
Exception
;
PageInfoResponse
<
DvRuleTDto
>
queryJyRuleListPage
(
BasePageBean
basePageBean
,
HttpServletRequest
httpRequest
)
throws
Exception
;
JsonResult
addSyncTask
(
SyncDmpTaskAddReq
syncDmpTaskAddReq
)
throws
Exception
;
}
src/main/java/com/jz/dmp/modules/service/impl/OfflineSynchServiceImpl.java
View file @
9f6b65bf
...
...
@@ -416,4 +416,9 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
return
pageInfoResponse
;
}
@Override
public
JsonResult
addSyncTask
(
SyncDmpTaskAddReq
syncDmpTaskAddReq
)
throws
Exception
{
return
null
;
}
}
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