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
18257c7a
Commit
18257c7a
authored
Aug 15, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
功能提示处理
parent
3f784edb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+2
-0
HGSC005A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC005A.xml
+1
-1
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
18257c7a
...
...
@@ -368,6 +368,8 @@ public class HGKCTools {
hgkc003
.
setPrdtWidth
(
hgpz005
.
getWidth
());
hgkc003
.
setPrdtThick
(
hgpz005
.
getThick
());
hgkc003
.
setInventTypeDetail
(
hgpz005
.
getInventTypeDetail
());
AssertUtils
.
isNull
(
hgpz005
.
getInventTypeDetail
(),
"存货:"
+
hgpz005
.
getInventCode
()+
", 未维护存货大类!"
);
//获取仓库信息
HGPZ007
hgpz007
=
hgpz007List
.
stream
().
filter
(
wh
->
wh
.
getInventTypeDetail
()
!=
null
&&
wh
.
getInventTypeDetail
().
intValue
()
==
hgpz005
.
getInventTypeDetail
()).
findAny
().
orElse
(
null
);
if
(
Objects
.
nonNull
(
hgpz007
)){
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC005A.xml
View file @
18257c7a
...
...
@@ -38,7 +38,7 @@
<sqlMap
namespace=
"HGSC005A"
>
<sql
id=
"condition"
>
<
include
refid=
"HGXSDataAuth.authCondition"
/
>
<
!--<include refid="HGXSDataAuth.authCondition"/>--
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
id = #id#
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
18257c7a
...
...
@@ -579,6 +579,7 @@ public class HGSCTools {
List
<
String
>
inventCodes
=
hgsc005aList
.
stream
().
map
(
HGSC005A:
:
getProductCode
).
distinct
().
collect
(
Collectors
.
toList
());
//通过存货档案编码查询存货档案工序
List
<
HGPZ005A
>
hgpz005AList
=
HGPZTools
.
HgPz005A
.
queryByInventCodes
(
inventCodes
);
AssertUtils
.
isEmpty
(
hgpz005AList
,
String
.
format
(
"产品[%s]工序不存在,请先到存货档案配置产品工序!"
,
inventCodes
));
List
<
HGSC005A
>
hgsc005AList
=
new
ArrayList
<>();
hgsc005aList
.
forEach
(
hgsc005a
->{
List
<
HGPZ005A
>
filterHgpz005a
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getInventCode
().
equals
(
hgsc005a
.
getProductCode
())).
collect
(
Collectors
.
toList
());
...
...
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