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
eb81df09
Commit
eb81df09
authored
Aug 16, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提示bug修改
parent
2598a20d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+1
-2
No files found.
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
eb81df09
...
@@ -160,11 +160,10 @@ public class HGKCTools {
...
@@ -160,11 +160,10 @@ public class HGKCTools {
List
<
HGPZ007
>
hgpz007List
=
HGPZTools
.
HgPz007
.
allList
();
List
<
HGPZ007
>
hgpz007List
=
HGPZTools
.
HgPz007
.
allList
();
//获取仓库信息
//获取仓库信息
HGPZ007
hgpz007
=
hgpz007List
.
stream
().
filter
(
wh
->
wh
.
getInventTypeDetail
()
!=
null
&&
wh
.
getInventTypeDetail
().
intValue
()
==
newKc001
.
getInventTypeDetail
()).
findAny
().
orElse
(
null
);
HGPZ007
hgpz007
=
hgpz007List
.
stream
().
filter
(
wh
->
wh
.
getInventTypeDetail
()
!=
null
&&
wh
.
getInventTypeDetail
().
intValue
()
==
newKc001
.
getInventTypeDetail
()).
findAny
().
orElse
(
null
);
AssertUtils
.
isNull
(
hgpz007
,
"仓库信息未获取到,请检查仓库档案是否维护存货大类!"
);
if
(
Objects
.
nonNull
(
hgpz007
)){
if
(
Objects
.
nonNull
(
hgpz007
)){
newKc001
.
setWhCode
(
hgpz007
.
getWhCode
());
newKc001
.
setWhCode
(
hgpz007
.
getWhCode
());
newKc001
.
setWhName
(
hgpz007
.
getWhName
());
newKc001
.
setWhName
(
hgpz007
.
getWhName
());
}
else
{
AssertUtils
.
isNull
(
hgpz007
,
"仓库信息未获取到,请检查仓库档案是否维护存货大类!"
);
}
}
DaoUtils
.
insert
(
HGKC001
.
INSERT
,
newKc001
);
DaoUtils
.
insert
(
HGKC001
.
INSERT
,
newKc001
);
// 更新库存数量
// 更新库存数量
...
...
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