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
e25715ae
authored
Oct 21, 2019
by
ice
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改盘点审核
parent
53c272ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/orthopedics/controller/bookcity/CheckController.java
src/main/java/orthopedics/controller/bookcity/CheckController.java
View file @
e25715ae
...
...
@@ -76,7 +76,7 @@ public class CheckController {
JSONObject
jsonObject
=
getJson
(
invCountHeaderPage
,
invCountLine
);
List
<
InvTransaction
>
invTransactionList
=
transactionServer
.
selectInvTrasactionByItemId
(
invCountLine
.
getInvId
(),
invCountLine
.
getSubinvId
(),
invCountLine
.
getLocatorId
(),
invCountLine
.
getItemId
());
Integer
sumItemIdQuantity
=
invTransactionList
.
stream
().
collect
(
Collectors
.
summingInt
(
InvTransaction:
:
getTxQuantity
));
if
(
sumItemIdQuantity
!=
invCountLine
.
getAccountQuantity
()
){
if
(
sumItemIdQuantity
.
compareTo
(
invCountLine
.
getAccountQuantity
())!=
0
){
return
new
Result
(
false
,
StatusCode
.
ERROR
,
"盘点单号为:"
+
invCountHeaderPage
.
getCountNumber
()+
"的账存数量与现有库存量不一致"
);
}
transactionController
.
invItemInOut
(
accessToken
,
jsonObject
);
...
...
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