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
99af012a
Commit
99af012a
authored
Aug 08, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-08 材料计划导入修复
parent
fd48ea9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
HGPZTools.java
src/main/java/com/baosight/hggp/hg/pz/tools/HGPZTools.java
+1
-1
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+7
-2
No files found.
src/main/java/com/baosight/hggp/hg/pz/tools/HGPZTools.java
View file @
99af012a
...
...
@@ -642,7 +642,7 @@ public class HGPZTools {
pz005
.
setInventCode
(
hgsc009a
.
getInventCode
());
pz005
.
setInventName
(
hgsc009a
.
getInventName
());
pz005
.
setSpec
(
hgsc009a
.
getSpec
());
pz005
.
setInventTypeDetail
(
(
Integer
)
objectMap
.
get
(
inventType
));
pz005
.
setInventTypeDetail
(
Integer
.
parseInt
(
objectMap
.
get
(
inventType
).
toString
()
));
pz005
.
setLength
(
hgsc009a
.
getLength
());
pz005
.
setWidth
(
hgsc009a
.
getWidth
());
pz005
.
setThick
(
hgsc009a
.
getThick
());
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
99af012a
...
...
@@ -1438,8 +1438,13 @@ public class HGSCTools {
DaoUtils
.
insert
(
HGSC009
.
INSERT
,
hgsc009
);
List
<
HGSC009A
>
hgsc009as
=
new
ArrayList
<>();
for
(
HGSC009A
hgsc009a:
hgsc009aList
)
{
HGPZ005
hgpz005
=
HGPZTools
.
HgPz005
.
getByCode
(
hgsc009a
.
getInventCode
());
if
(
Objects
.
isNull
(
hgpz005
)){
List
<
HGPZ005
>
hgpz005List
=
DaoBase
.
getInstance
().
query
(
HGPZ005
.
QUERY
,
new
HashMap
<
String
,
String
>(){{
put
(
"inventCode"
,
hgsc009a
.
getInventCode
());
}});
HGPZ005
hgpz005
=
null
;
if
(
hgpz005List
.
size
()>
0
){
hgpz005
=
hgpz005List
.
get
(
0
);
}
else
{
hgpz005
=
HGPZTools
.
HgPz005
.
add
(
hgsc009a
);
}
hgsc009a
.
setCompanyCode
(
hgsc009
.
getCompanyCode
());
...
...
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