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
0149540c
Commit
0149540c
authored
Oct 08, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-08 委外入库提交修复
parent
39d36a48
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ServiceHGSC010.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC010.java
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC010.java
View file @
0149540c
...
@@ -132,7 +132,7 @@ public class ServiceHGSC010 extends ServiceEPBase {
...
@@ -132,7 +132,7 @@ public class ServiceHGSC010 extends ServiceEPBase {
for
(
HGSC010
hgsc010:
resultMaps
)
{
for
(
HGSC010
hgsc010:
resultMaps
)
{
List
<
HGSC010A
>
hgsc010AList
=
hgsc010As
.
stream
().
filter
(
item
->
item
.
getParentId
().
equals
(
hgsc010
.
getId
())).
collect
(
Collectors
.
toList
());
List
<
HGSC010A
>
hgsc010AList
=
hgsc010As
.
stream
().
filter
(
item
->
item
.
getParentId
().
equals
(
hgsc010
.
getId
())).
collect
(
Collectors
.
toList
());
List
<
HGSC010B
>
hgsc010BList
=
hgsc010Bs
.
stream
().
filter
(
item
->
item
.
getParentId
().
equals
(
hgsc010
.
getId
())).
collect
(
Collectors
.
toList
());
List
<
HGSC010B
>
hgsc010BList
=
hgsc010Bs
.
stream
().
filter
(
item
->
item
.
getParentId
().
equals
(
hgsc010
.
getId
())).
collect
(
Collectors
.
toList
());
AssertUtils
.
isTrue
(
hgsc010AList
.
size
()<=
0
||
hgsc010BList
.
size
()<=
0
,
"请先添加成本委托明细或者原料委托明细"
);
AssertUtils
.
isTrue
(
hgsc010AList
.
size
()<=
0
&&
hgsc010BList
.
size
()<=
0
,
"请先添加成本委托明细或者原料委托明细"
);
hgsc010
.
setSubStatus
(
CommonConstant
.
YesNo
.
YES_1
);
hgsc010
.
setSubStatus
(
CommonConstant
.
YesNo
.
YES_1
);
DaoUtils
.
update
(
"HGSC010.updateBySubStatus"
,
hgsc010
.
toMap
());
DaoUtils
.
update
(
"HGSC010.updateBySubStatus"
,
hgsc010
.
toMap
());
...
...
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