Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
郑小冰
/
orthopedics
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1efb21b1
authored
Nov 05, 2019
by
ice
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改采购订单审核时必填项是否填入的校验
parent
8bac25a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
src/main/java/orthopedics/controller/bookcity/PurOrderHeaderController.java
src/main/java/orthopedics/controller/bookcity/PurOrderHeaderController.java
View file @
1efb21b1
...
...
@@ -129,6 +129,11 @@ public class PurOrderHeaderController {
errorList
.
add
(
"采购单号为:"
+
purOrderHeader
.
getOrderNumber
()+
"的状态不为新建,审核失败!"
);
continue
label
;
}
//判断必填项是否有填入
if
(
null
==
purOrderHeader
.
getSupplierId
()
||
""
.
equals
(
purOrderHeader
.
getSupplierId
())
||
null
==
purOrderHeader
.
getOrderCurrency
()
||
""
.
equals
(
purOrderHeader
.
getOrderCurrency
())
||
null
==
purOrderHeader
.
getBuyerId
()
||
""
.
equals
(
purOrderHeader
.
getBuyerId
())){
errorList
.
add
(
"采购单号为:"
+
purOrderHeader
.
getOrderNumber
()+
"的必填项未填入,审核失败!"
);
continue
label
;
}
if
(
"000000006c60dba1016c60f588e00002"
.
equals
(
purOrderHeader
.
getOrderType
()))
{
List
<
PurOrderLine
>
purOrderLineList
=
purOrderLineService
.
findOrderLineByHeaderId
(
purOrderHeader
.
getId
());
for
(
PurOrderLine
purOrderLine
:
purOrderLineList
)
{
...
...
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