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
7f3438bb
Commit
7f3438bb
authored
May 20, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料清单明细页面删除、修改,关联生产计划单
parent
1269c0e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
7f3438bb
...
...
@@ -213,11 +213,11 @@ public class HGSCTools {
private
static
Map
<
Long
,
Optional
<
HGSC005A
>>
queryOldPlanDetail
(
HGSC005A
hgsc005a
){
Map
paramMap
=
new
HashMap
();
paramMap
.
put
(
HGSC005A
.
FIELD_
plan_code
,
hgsc005a
.
getPlanCode
());
paramMap
.
put
(
HGSC005A
.
FIELD_
mat_id
,
hgsc005a
.
getMatId
());
paramMap
.
put
(
HGSC005A
.
FIELD_product_code
,
hgsc005a
.
getProductCode
());
//构建计划物料明细ID唯一 TODO
if
(
hgsc005a
.
getProductType
()==
1
){
paramMap
.
put
(
HGSC005A
.
FIELD_
product_code
,
hgsc005a
.
getMatDetailId
());
paramMap
.
put
(
HGSC005A
.
FIELD_
mat_detail_id
,
hgsc005a
.
getMatDetailId
());
}
List
<
HGSC005A
>
oldObjList
=
DaoBase
.
getInstance
().
query
(
HGSC005A
.
QUERY
,
paramMap
);
Map
<
Long
,
Optional
<
HGSC005A
>>
oldObjMap
=
Optional
.
ofNullable
(
oldObjList
).
orElse
(
new
ArrayList
<>()).
stream
()
...
...
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