Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
4fb39777
Commit
4fb39777
authored
Apr 30, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-30 采购批量提交添加过滤
parent
fbb4ed95
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ServiceHPCG001.java
.../java/com/baosight/hpjx/hp/cg/service/ServiceHPCG001.java
+10
-0
No files found.
src/main/java/com/baosight/hpjx/hp/cg/service/ServiceHPCG001.java
View file @
4fb39777
...
...
@@ -196,7 +196,17 @@ public class ServiceHPCG001 extends ServiceEPBase {
hpcg001
.
fromMap
(
value
);
//添加采购计划详情
HPCG002A
hpcg002a
=
new
HPCG002A
();
// 检查存货名称是新增还是已存在
HPPZ006
fPz006
=
new
HPPZ006
();
fPz006
.
fromMap
(
value
);
if
(
StringUtils
.
isBlank
(
hpcg001
.
getInventCode
()))
{
String
inventCode
=
HPPZTools
.
HpPz004
.
checkAndSave
(
hpcg001
.
getInventType
(),
hpcg001
.
getInventName
());
fPz006
.
setInventCode
(
inventCode
);
}
// 检查规格是否已存在,不存在就新增
HPPZ006
dbPz006
=
HPPZTools
.
HpPz006
.
checkAndSave
(
fPz006
);
hpcg002a
.
fromMap
(
value
);
hpcg002a
.
setInventRecordId
(
dbPz006
.
getId
());
hpcg002a
.
setParentId
(
list1
.
get
(
0
).
getId
());
hpcg002a
.
setApplyUnitWeight
(
hpcg001
.
getUnitWeight
());
hpcg002a
.
setApplyWeight
(
hpcg001
.
getWeight
());
...
...
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