Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
c0768549
Commit
c0768549
authored
Jun 05, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加返回数组position3d
parent
d221e4d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
RegionTreeResponse.java
...oin/amos/fas/core/common/response/RegionTreeResponse.java
+12
-10
No files found.
YeeAmosFireAutoSysCommon/src/main/java/com/yeejoin/amos/fas/core/common/response/RegionTreeResponse.java
View file @
c0768549
package
com
.
yeejoin
.
amos
.
fas
.
core
.
common
.
response
;
import
java.util.ArrayList
;
import
java.util.List
;
import
com.alibaba.druid.util.StringUtils
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
RegionTreeResponse
{
private
Long
id
;
...
...
@@ -19,12 +19,19 @@ public class RegionTreeResponse {
private
Boolean
isBind
;
private
String
type
;
private
Boolean
isRegion
;
private
String
position3d
;
private
JSONArray
position3d
;
private
String
routePath
;
private
String
level
;
private
String
levelStr
;
private
List
<
RegionTreeResponse
>
children
=
new
ArrayList
<>();
public
JSONArray
getPosition3d
()
{
return
position3d
;
}
public
void
setPosition3d
(
String
position3d
)
{
this
.
position3d
=
StringUtils
.
isEmpty
(
position3d
)
?
new
JSONArray
()
:
JSON
.
parseArray
(
position3d
);
}
public
Long
getId
()
{
return
id
;
...
...
@@ -92,12 +99,7 @@ public class RegionTreeResponse {
public
void
setIsRegion
(
Boolean
isRegion
)
{
this
.
isRegion
=
isRegion
;
}
public
String
getPosition3d
()
{
return
position3d
;
}
public
void
setPosition3d
(
String
position3d
)
{
this
.
position3d
=
position3d
;
}
/**
* @return the routePath
*/
...
...
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