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
27366746
Commit
27366746
authored
Oct 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-09 办公用品入库状态和领用状态调整
parent
1a347479
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ServiceHPBG004.java
.../java/com/baosight/hpjx/hp/bg/service/ServiceHPBG004.java
+4
-0
No files found.
src/main/java/com/baosight/hpjx/hp/bg/service/ServiceHPBG004.java
View file @
27366746
...
@@ -16,6 +16,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
...
@@ -16,6 +16,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -60,6 +61,7 @@ public class ServiceHPBG004 extends ServiceEPBase {
...
@@ -60,6 +61,7 @@ public class ServiceHPBG004 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
// 写入数据
// 写入数据
List
<
HPBG004
>
hpbg004s
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HPBG004
hpbg004
=
new
HPBG004
();
HPBG004
hpbg004
=
new
HPBG004
();
hpbg004
.
fromMap
(
resultRow
);
hpbg004
.
fromMap
(
resultRow
);
...
@@ -68,7 +70,9 @@ public class ServiceHPBG004 extends ServiceEPBase {
...
@@ -68,7 +70,9 @@ public class ServiceHPBG004 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hpbg004
);
this
.
modify
(
hpbg004
);
}
}
hpbg004s
.
add
(
hpbg004
);
}
}
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
setRows
(
hpbg004s
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
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