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
bbf13aa8
Commit
bbf13aa8
authored
Jul 15, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):设备列表查询报错修改
parent
2f178e55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+5
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
bbf13aa8
...
...
@@ -1530,8 +1530,11 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(!
ValidationUtil
.
isEmpty
(
dto2
.
get
(
DATA_SOURCE
)))
{
String
s
=
dto2
.
get
(
DATA_SOURCE
).
toString
();
dto2
.
put
(
DATA_SOURCE
,
s
);
String
equipSource
=
s
.
startsWith
(
EquipSourceEnum
.
jg
.
getCode
())
?
EquipSourceEnum
.
jg
.
getName
()
:
EquipSourceEnum
.
jg_his
.
getName
();
dto2
.
put
(
DATA_SOURCE_NAME
,
equipSource
);
dto2
.
put
(
DATA_SOURCE_NAME
,
Arrays
.
stream
(
EquipSourceEnum
.
values
())
.
filter
(
e
->
s
.
startsWith
(
e
.
getCode
()))
.
map
(
EquipSourceEnum:
:
getName
)
.
findFirst
()
.
orElse
(
EquipSourceEnum
.
jg
.
getName
()));
}
dto2
.
put
(
"record"
,
dto2
.
get
(
SEQUENCE_NBR
));
list
.
add
(
dto2
);
...
...
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