Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
Project
Project
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
INET-TWO
server
dcs-plan
Commits
17900da7
Commit
17900da7
authored
Oct 15, 2024
by
侯彦文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度计划
parent
54e9912c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ExtPlanServiceImpl.java
.../yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
+3
-3
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
View file @
17900da7
...
@@ -320,7 +320,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
...
@@ -320,7 +320,7 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
if
(
StringUtils
.
isEmpty
(
secretCodeKey
))
{
if
(
StringUtils
.
isEmpty
(
secretCodeKey
))
{
buffer
.
append
(
String
.
format
(
"第%s行密级格式不正确!"
,
i
+
1
)
+
"</br>"
);
buffer
.
append
(
String
.
format
(
"第%s行密级格式不正确!"
,
i
+
1
)
+
"</br>"
);
}
}
if
(
Objects
.
nonNull
(
excelVO
.
getSuperPlanCode
()))
{
if
(
!
StringUtils
.
isEmpty
(
excelVO
.
getSuperPlanCode
()))
{
//校验父级编号
//校验父级编号
ExtPlanVO
extPlanVO
=
this
.
searchByNumber
(
excelVO
.
getSuperPlanCode
());
ExtPlanVO
extPlanVO
=
this
.
searchByNumber
(
excelVO
.
getSuperPlanCode
());
if
(
ObjectUtils
.
isEmpty
(
extPlanVO
))
{
if
(
ObjectUtils
.
isEmpty
(
extPlanVO
))
{
...
@@ -329,11 +329,11 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
...
@@ -329,11 +329,11 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
}
}
//校验编号是否已存在
//校验编号是否已存在
ExtPlanVO
extPlanVOByNumber
=
this
.
searchByNumber
(
excelVO
.
getNumber
());
ExtPlanVO
extPlanVOByNumber
=
this
.
searchByNumber
(
excelVO
.
getNumber
());
if
(
Objects
.
nonNull
(
extPlanVOByNumber
))
{
if
(
!
StringUtils
.
isEmpty
(
extPlanVOByNumber
))
{
buffer
.
append
(
String
.
format
(
"第%s行,计划编号编号已存在"
,
i
+
1
)
+
"</br>"
);
buffer
.
append
(
String
.
format
(
"第%s行,计划编号编号已存在"
,
i
+
1
)
+
"</br>"
);
}
}
DxUserInfoVO
userByName
=
dxUserInfoFeign
.
getUserByName
(
excelVO
.
getPlanExecutor
());
DxUserInfoVO
userByName
=
dxUserInfoFeign
.
getUserByName
(
excelVO
.
getPlanExecutor
());
if
(
Object
Utils
.
isEmpty
(
userByName
)){
if
(
String
Utils
.
isEmpty
(
userByName
)){
buffer
.
append
(
String
.
format
(
"第%s行,计划执行人不存在"
,
i
+
1
)
+
"</br>"
);
buffer
.
append
(
String
.
format
(
"第%s行,计划执行人不存在"
,
i
+
1
)
+
"</br>"
);
}
else
{
}
else
{
excelVO
.
setPlanExecutorId
(
userByName
.
getId
());
excelVO
.
setPlanExecutorId
(
userByName
.
getId
());
...
...
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