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
5a0fb0f5
Commit
5a0fb0f5
authored
Jan 27, 2021
by
mcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
d750eed8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
OfflineSynchController.java
...es/controller/DataIntegration/OfflineSynchController.java
+2
-2
DmpNavigationTreeServiceImpl.java
...mp/modules/service/impl/DmpNavigationTreeServiceImpl.java
+1
-0
No files found.
src/main/java/com/jz/dmp/modules/controller/DataIntegration/OfflineSynchController.java
View file @
5a0fb0f5
...
@@ -249,9 +249,9 @@ public class OfflineSynchController {
...
@@ -249,9 +249,9 @@ public class OfflineSynchController {
if
(
StringUtils
.
isEmpty
(
newSynchTaskReq
.
getTreeName
()))
{
if
(
StringUtils
.
isEmpty
(
newSynchTaskReq
.
getTreeName
()))
{
return
JsonResult
.
error
(
ResultCode
.
PARAMS_ERROR
,
"任务名称不能为空"
);
return
JsonResult
.
error
(
ResultCode
.
PARAMS_ERROR
,
"任务名称不能为空"
);
}
}
if
(
StringUtils
.
isEmpty
(
newSynchTaskReq
.
getType
()))
{
/*
if (StringUtils.isEmpty(newSynchTaskReq.getType())) {
return JsonResult.error(ResultCode.PARAMS_ERROR, "任务类型不能为空");
return JsonResult.error(ResultCode.PARAMS_ERROR, "任务类型不能为空");
}
}
*/
if
(
StringUtils
.
isEmpty
(
newSynchTaskReq
.
getProjectId
()))
{
if
(
StringUtils
.
isEmpty
(
newSynchTaskReq
.
getProjectId
()))
{
return
JsonResult
.
error
(
ResultCode
.
PARAMS_ERROR
,
"目标文件夹不能为空"
);
return
JsonResult
.
error
(
ResultCode
.
PARAMS_ERROR
,
"目标文件夹不能为空"
);
}
}
...
...
src/main/java/com/jz/dmp/modules/service/impl/DmpNavigationTreeServiceImpl.java
View file @
5a0fb0f5
...
@@ -74,6 +74,7 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi
...
@@ -74,6 +74,7 @@ public class DmpNavigationTreeServiceImpl extends BaseService implements DmpNavi
dmpNavigationTree
.
setCreateUserId
(
getHttpRequestUserId
(
null
).
toString
());
dmpNavigationTree
.
setCreateUserId
(
getHttpRequestUserId
(
null
).
toString
());
// 创建时间
// 创建时间
dmpNavigationTree
.
setCreateTime
(
new
Date
());
dmpNavigationTree
.
setCreateTime
(
new
Date
());
dmpNavigationTree
.
setIsLevel
(
"0"
);
this
.
dmpNavigationTreeDao
.
insertSelective
(
dmpNavigationTree
);
this
.
dmpNavigationTreeDao
.
insertSelective
(
dmpNavigationTree
);
return
dmpNavigationTree
;
return
dmpNavigationTree
;
}
}
...
...
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