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
53c272ac
authored
Oct 21, 2019
by
ice
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改采购订单的审核中的库存现有量判断
parent
01699892
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/orthopedics/controller/bookcity/PurOrderHeaderController.java
src/main/java/orthopedics/controller/bookcity/PurOrderHeaderController.java
View file @
53c272ac
...
@@ -150,11 +150,11 @@ public class PurOrderHeaderController {
...
@@ -150,11 +150,11 @@ public class PurOrderHeaderController {
purOrderLineService
.
updateOrderLineSumQuantity
(
String
.
valueOf
(
newSumQuantity
),
purOrderLine
.
getId
());
purOrderLineService
.
updateOrderLineSumQuantity
(
String
.
valueOf
(
newSumQuantity
),
purOrderLine
.
getId
());
}
else
{
}
else
{
Integer
sumQuantity
=
Integer
.
valueOf
(
purOrderLine
.
getAttribute1
());
Integer
sumQuantity
=
Integer
.
valueOf
(
purOrderLine
.
getAttribute1
());
if
(
sumQuantity
!=
newSumQuantity
)
{
if
(
sumQuantity
.
compareTo
(
newSumQuantity
)
!=
0
)
{
purOrderLineService
.
updateOrderLineSumQuantity
(
String
.
valueOf
(
newSumQuantity
),
purOrderLine
.
getId
());
purOrderLineService
.
updateOrderLineSumQuantity
(
String
.
valueOf
(
newSumQuantity
),
purOrderLine
.
getId
());
}
}
}
}
if
(
quantity
>
newSumQuantity
){
if
(
quantity
.
compareTo
(
newSumQuantity
)
>
0
){
errorList
.
add
(
"采购订单号为:"
+
purOrderHeader
.
getOrderNumber
()+
"库存现有量不足,审核失败!"
);
errorList
.
add
(
"采购订单号为:"
+
purOrderHeader
.
getOrderNumber
()+
"库存现有量不足,审核失败!"
);
continue
label
;
continue
label
;
}
}
...
...
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