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
257df619
Commit
257df619
authored
Mar 26, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料清单导入
parent
6d401a87
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
ServiceHPSC002.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
+1
-7
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002.java
View file @
257df619
...
...
@@ -742,7 +742,7 @@ public class ServiceHPSC002 extends ServiceBase {
}
}
@OperationLogAnnotation
(
operModul
=
"物料清单"
,
operType
=
"导入"
,
operDesc
=
"导入"
)
public
EiInfo
importData
(
EiInfo
inInfo
)
{
try
{
List
<
HPSC002
>
dataList
=
(
List
)
inInfo
.
get
(
"dataList"
);
...
...
@@ -753,12 +753,6 @@ public class ServiceHPSC002 extends ServiceBase {
String
parentPrdtName
=
(
String
)
params
.
get
(
"parentPrdtName"
);
// 写入数据
for
(
HPSC002
hpsc002:
dataList
)
{
/*BigDecimal num = hpsc002.getNum();
BigDecimal unitWt = hpsc002.getUnitWt();
DecimalFormat decimalFormat = new DecimalFormat("#.000");
BigDecimal totalWt = new BigDecimal(decimalFormat.format(num.multiply(unitWt).floatValue()));
hpsc002.setDelStatus(CommonConstant.YesNo.NO_0.intValue());
hpsc002.setTotalWt(totalWt);*/
hpsc002
.
setParentId
(
parentId
);
hpsc002
.
setProjCode
(
projCode
);
hpsc002
.
setProjName
(
projName
);
...
...
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