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
c3a5c80e
Commit
c3a5c80e
authored
Aug 20, 2021
by
李成龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改警情接口
parent
93e99161
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
IotFeignClient.java
...oin/amos/boot/module/common/api/feign/IotFeignClient.java
+2
-0
AircraftController.java
...os/boot/module/jcs/biz/controller/AircraftController.java
+2
-1
AlertCalledServiceImpl.java
...t/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
+5
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/feign/IotFeignClient.java
View file @
c3a5c80e
...
@@ -29,4 +29,6 @@ public interface IotFeignClient {
...
@@ -29,4 +29,6 @@ public interface IotFeignClient {
@RequestMapping
(
value
=
"/v1/iot/DynamicFlightInfo/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/v1/iot/DynamicFlightInfo/list"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
findImgByFileCategory
();
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
findImgByFileCategory
();
@RequestMapping
(
value
=
"/v1/iot/DynamicFlightInfo/detail/{dynamicFlightId}"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Map
<
String
,
Object
>>
findImgByDynamicFlightId
(
@PathVariable
String
dynamicFlightId
);
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AircraftController.java
View file @
c3a5c80e
...
@@ -194,6 +194,7 @@ public class AircraftController extends BaseController {
...
@@ -194,6 +194,7 @@ public class AircraftController extends BaseController {
Map
<
String
,
Object
>
map
=
dataModel
.
getResult
();
Map
<
String
,
Object
>
map
=
dataModel
.
getResult
();
if
(
map
!=
null
)
{
if
(
map
!=
null
)
{
map1
.
put
(
"aircraftModel"
,
map
.
get
(
"aircraftType"
));
map1
.
put
(
"aircraftModel"
,
map
.
get
(
"aircraftType"
));
map1
.
put
(
"dynamicFlightId"
,
map
.
get
(
"dynamicFlightId"
));
map1
.
put
(
"landingTime"
,
map
.
get
(
"sta"
));
map1
.
put
(
"landingTime"
,
map
.
get
(
"sta"
));
// map1.put("fuelQuantity", map.get(""));
// map1.put("fuelQuantity", map.get(""));
map1
.
put
(
"passengerCapacity"
,
map
.
get
(
"psgNumTotal"
));
map1
.
put
(
"passengerCapacity"
,
map
.
get
(
"psgNumTotal"
));
...
@@ -227,7 +228,7 @@ public class AircraftController extends BaseController {
...
@@ -227,7 +228,7 @@ public class AircraftController extends BaseController {
}
}
}
}
Map
<
String
,
Object
>
map
=
new
HashedMap
();
Map
<
String
,
Object
>
map
=
new
HashedMap
();
ResponseModel
<
Map
<
String
,
Object
>>
dataModel
=
iotFeignClient
.
getDynamicFlightInfo
(
num
);
ResponseModel
<
Map
<
String
,
Object
>>
dataModel
=
iotFeignClient
.
findImgByDynamicFlightId
(
num
);
if
(
dataModel
!=
null
)
{
if
(
dataModel
!=
null
)
{
map
=
dataModel
.
getResult
();
map
=
dataModel
.
getResult
();
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
View file @
c3a5c80e
...
@@ -376,7 +376,11 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
...
@@ -376,7 +376,11 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
listdate
.
add
(
new
KeyValueLabel
(
"联系电话"
,
"contactPhone"
,
alertCalled
.
getContactPhone
()));
listdate
.
add
(
new
KeyValueLabel
(
"联系电话"
,
"contactPhone"
,
alertCalled
.
getContactPhone
()));
listdate
.
add
(
new
KeyValueLabel
(
"联系人电话"
,
"contactPhone"
,
alertCalled
.
getContactPhone
()));
listdate
.
add
(
new
KeyValueLabel
(
"联系人电话"
,
"contactPhone"
,
alertCalled
.
getContactPhone
()));
list
.
stream
().
forEach
(
AlertFormValue
->
{
list
.
stream
().
forEach
(
AlertFormValue
->
{
listdate
.
add
(
new
KeyValueLabel
(
AlertFormValue
.
getFieldName
(),
AlertFormValue
.
getFieldCode
(),
AlertFormValue
.
getFieldValue
()));
String
valueCode
=
AlertFormValue
.
getFieldValueCode
();
if
(
null
==
valueCode
)
{
valueCode
=
AlertFormValue
.
getFieldValue
();
}
listdate
.
add
(
new
KeyValueLabel
(
AlertFormValue
.
getFieldName
(),
AlertFormValue
.
getFieldCode
(),
valueCode
));
});
});
map
.
put
(
"data"
,
listdate
);
map
.
put
(
"data"
,
listdate
);
return
map
;
return
map
;
...
...
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