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
de21cd89
Commit
de21cd89
authored
Oct 21, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购计划预算不能为空校验
parent
505ed1f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
PurchasePlanExcelReadListenner.java
...cs/plan/core/listener/PurchasePlanExcelReadListenner.java
+6
-0
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/listener/PurchasePlanExcelReadListenner.java
View file @
de21cd89
...
@@ -269,6 +269,12 @@ public class PurchasePlanExcelReadListenner extends AnalysisEventListener<ExtPuc
...
@@ -269,6 +269,12 @@ public class PurchasePlanExcelReadListenner extends AnalysisEventListener<ExtPuc
errorList
.
add
(
errString
);
errorList
.
add
(
errString
);
return
;
return
;
}
}
//预算不能为空
if
(
ObjectUtils
.
isEmpty
(
extPuchasePlanExcelVO
.
getPurchaseBudget
())){
errString
.
append
(
"计划编号是:"
+
extPuchasePlanExcelVO
.
getPurchaseBudget
()
+
"的预算不能为空"
);
errorList
.
add
(
errString
);
return
;
}
//采购技术负责人
//采购技术负责人
if
(
StringUtils
.
isEmpty
(
extPuchasePlanExcelVO
.
getPurDesignFileManager
())){
if
(
StringUtils
.
isEmpty
(
extPuchasePlanExcelVO
.
getPurDesignFileManager
())){
errString
.
append
(
"计划编号是:"
+
extPuchasePlanExcelVO
.
getPlanCode
()
+
"的采购技术文件负责人不能为空"
);
errString
.
append
(
"计划编号是:"
+
extPuchasePlanExcelVO
.
getPlanCode
()
+
"的采购技术文件负责人不能为空"
);
...
...
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