Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
90b9942c
Commit
90b9942c
authored
Sep 05, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工序质检单获取当前工序bug修改
parent
aaac300d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+2
-1
No files found.
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
90b9942c
...
...
@@ -311,7 +311,8 @@ public class HGKCTools {
//修改计划生产任务完工数量
HGSCTools
.
complete
(
hgkc003
.
getQualityId
(),
hgkc003
.
getInvQty
().
intValue
(),
hgkc003
.
getRectificationId
(),
HGConstant
.
StorageType
.
RK
);
//查询当前工序
HGPZ005A
hgpz005A
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getInventCode
().
equals
(
hgkc003
.
getPrdtCode
())).
findAny
().
orElse
(
null
);
HGPZ005A
hgpz005A
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getId
().
equals
(
hgkc003
.
getInventProcessId
())).
findAny
().
orElse
(
null
);
AssertUtils
.
isNull
(
hgpz005A
,
"未获取到当前工序信息!"
);
//查询比当前工序靠后的工序是否存在,不存在说明是最后工序,修改实时库存
List
<
HGPZ005A
>
nextHgpz005AList
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getProcessOrder
().
compareTo
(
hgpz005A
.
getProcessOrder
())
==
1
).
collect
(
Collectors
.
toList
());
if
(
CollectionUtils
.
isEmpty
(
nextHgpz005AList
)){
...
...
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