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
22b7f936
Commit
22b7f936
authored
Aug 04, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
bb8d29d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
KeySiteServiceImpl.java
...ot/module/common/biz/service/impl/KeySiteServiceImpl.java
+2
-0
DataSourcesImpl.java
...mos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/KeySiteServiceImpl.java
View file @
22b7f936
...
...
@@ -252,6 +252,7 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
if
(
fireEnduranceRateArray
.
length
>
1
)
{
keySiteDto
.
setFireEnduranceRate
(
fireEnduranceRateArray
[
1
]);
}
keySiteDto
.
setFireEnduranceRateName
(
fireEnduranceRateArray
[
0
]);
}
if
(
StringUtils
.
isNotBlank
(
keySiteExcleDto
.
getUseNature
())
&&
keySiteExcleDto
.
getUseNature
().
contains
(
"@"
))
{
...
...
@@ -259,6 +260,7 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
if
(
useNatureArray
.
length
>
1
)
{
keySiteDto
.
setUseNature
(
useNatureArray
[
1
]);
}
keySiteDto
.
setUseNatureName
(
useNatureArray
[
0
]);
}
if
(
keySiteExcleDto
.
getFirePreventionFlagName
().
equals
(
"有"
))
{
keySiteDto
.
setFirePreventionFlag
(
true
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/DataSourcesImpl.java
View file @
22b7f936
...
...
@@ -253,7 +253,7 @@ private void initBuildTreeList(List<Object> menus, List<String> stringList) {
for
(
Object
orgMenuDto
:
menus
)
{
JSONObject
detailObject
=
JSONObject
.
parseObject
(
orgMenuDto
.
toString
());
if
(
detailObject
.
containsKey
(
"id"
))
{
stringList
.
add
(
detailObject
.
getString
(
"
id"
)
+
"@"
+
detailObject
.
getString
(
"name
"
));
stringList
.
add
(
detailObject
.
getString
(
"
name"
)
+
"@"
+
detailObject
.
getString
(
"id
"
));
}
JSONArray
children
=
detailObject
.
getJSONArray
(
"children"
);
if
(
children
!=
null
&&
children
.
size
()
>
0
)
{
...
...
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