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
58bf2e73
Commit
58bf2e73
authored
Oct 22, 2024
by
侯彦文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度计划更新操作
parent
7044afb0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ExtPlanServiceImpl.java
.../yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
+6
-4
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
View file @
58bf2e73
...
@@ -294,12 +294,14 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
...
@@ -294,12 +294,14 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
if
(
StringUtils
.
isEmpty
(
excelVO
.
getNumber
()))
{
if
(
StringUtils
.
isEmpty
(
excelVO
.
getNumber
()))
{
buffer
.
append
(
String
.
format
(
"第%s行的计划编号为空"
,
i
+
1
)
+
"<br/>"
);
buffer
.
append
(
String
.
format
(
"第%s行的计划编号为空"
,
i
+
1
)
+
"<br/>"
);
}
else
{
}
else
{
if
(!
"更新"
.
equals
(
excelVO
.
getOperate
())){
//校验编号是否已存在
//校验编号是否已存在
ExtPlanVO
extPlanVOByNumber
=
this
.
searchByNumber
(
excelVO
.
getNumber
());
ExtPlanVO
extPlanVOByNumber
=
this
.
searchByNumber
(
excelVO
.
getNumber
());
if
(!
StringUtils
.
isEmpty
(
extPlanVOByNumber
))
{
if
(!
StringUtils
.
isEmpty
(
extPlanVOByNumber
))
{
buffer
.
append
(
String
.
format
(
"第%s行计划编号已存在"
,
i
+
1
)
+
"<br/>"
);
buffer
.
append
(
String
.
format
(
"第%s行计划编号已存在"
,
i
+
1
)
+
"<br/>"
);
}
}
}
}
}
if
(
StringUtils
.
isEmpty
(
excelVO
.
getName
()))
{
if
(
StringUtils
.
isEmpty
(
excelVO
.
getName
()))
{
buffer
.
append
(
String
.
format
(
"第%s行的计划名称为空"
,
i
+
1
)
+
"<br/>"
);
buffer
.
append
(
String
.
format
(
"第%s行的计划名称为空"
,
i
+
1
)
+
"<br/>"
);
}
}
...
...
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