Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
6c43d2ba
Commit
6c43d2ba
authored
Mar 17, 2023
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
e4e8d9ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
EquipmentCategoryServiceImpl.java
...le/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
+5
-3
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
6c43d2ba
...
@@ -329,9 +329,11 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
...
@@ -329,9 +329,11 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
List
<
Map
<
String
,
Object
>>
records
=
model
.
getResult
().
getRecords
();
List
<
Map
<
String
,
Object
>>
records
=
model
.
getResult
().
getRecords
();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
for
(
Map
<
String
,
Object
>
record
:
records
)
{
for
(
Map
<
String
,
Object
>
record
:
records
)
{
Integer
integer
=
Integer
.
valueOf
(
record
.
get
(
EQUSTATE
).
toString
());
if
(!
ValidationUtil
.
isEmpty
(
record
.
get
(
EQUSTATE
)))
{
String
status
=
EquimentEnum
.
getName
.
get
(
integer
);
Integer
integer
=
Integer
.
valueOf
(
record
.
get
(
EQUSTATE
).
toString
());
record
.
put
(
EQUSTATE
,
status
);
String
status
=
EquimentEnum
.
getName
.
get
(
integer
);
record
.
put
(
EQUSTATE
,
status
);
}
result
.
add
(
record
);
result
.
add
(
record
);
}
}
Page
<
Map
<
String
,
Object
>>
mapPage
=
model
.
getResult
().
setRecords
(
result
);
Page
<
Map
<
String
,
Object
>>
mapPage
=
model
.
getResult
().
setRecords
(
result
);
...
...
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