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
f35806a1
Commit
f35806a1
authored
Jul 30, 2024
by
李松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加大屏应急事件详情接口
parent
9a40f8af
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
375 additions
and
0 deletions
+375
-0
AlertCalledController.java
...module/elevator/biz/controller/AlertCalledController.java
+50
-0
AlertCalledServiceImpl.java
...ule/elevator/biz/service/impl/AlertCalledServiceImpl.java
+0
-0
dispatchRecordFirst.json
...6333-biz/src/main/resources/json/dispatchRecordFirst.json
+32
-0
dispatchRecordPower.json
...6333-biz/src/main/resources/json/dispatchRecordPower.json
+45
-0
dispatchRecordSecond.json
...333-biz/src/main/resources/json/dispatchRecordSecond.json
+38
-0
emergencyBasic.json
...ule-96333-biz/src/main/resources/json/emergencyBasic.json
+83
-0
repairFollow.json
...odule-96333-biz/src/main/resources/json/repairFollow.json
+43
-0
rescueFollow.json
...odule-96333-biz/src/main/resources/json/rescueFollow.json
+28
-0
emergency.json
...ule-statistics-biz/src/main/resources/json/emergency.json
+56
-0
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/controller/AlertCalledController.java
View file @
f35806a1
...
@@ -799,4 +799,54 @@ public class AlertCalledController extends BaseController {
...
@@ -799,4 +799,54 @@ public class AlertCalledController extends BaseController {
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getDetail
(
id
));
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getDetail
(
id
));
}
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/basicDetail/{id}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id获取救援信息"
,
notes
=
"根据id获取救援信息"
)
public
ResponseModel
<
Object
>
getBasicDetail
(
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getBasicDetail
(
id
));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/dispatchRecord/{id}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id获取调派信息"
,
notes
=
"根据id获取调派信息"
)
public
ResponseModel
<
Object
>
getDispatchRecord
(
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getDispatchRecord
(
id
));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/followRecords/{id}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id获取回访信息"
,
notes
=
"根据id获取回访信息"
)
public
ResponseModel
<
Object
>
getFollowRecords
(
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getFollowRecords
(
id
));
}
/**
* 应急大屏使用
*
* @param id 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/callRecords/{id}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id获取通话记录信息"
,
notes
=
"根据id获取通话记录信息"
)
public
ResponseModel
<
Object
>
getCallRecords
(
@PathVariable
Long
id
)
{
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
getCallRecords
(
id
));
}
}
}
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/AlertCalledServiceImpl.java
View file @
f35806a1
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/dispatchRecordFirst.json
0 → 100644
View file @
f35806a1
[
{
"dataIndex"
:
"unitName"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"维保单位"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex"
:
"address"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"地址"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex"
:
"userName1"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"主要负责人"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA2"
},
{
"dataIndex"
:
"phone1"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"主要负责人电话"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA3"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/dispatchRecordPower.json
0 → 100644
View file @
f35806a1
[
{
"dataIndex"
:
"orgType"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"响应级别"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex"
:
"responseOrgName"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"单位名称"
,
"key"
:
"D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataIndex"
:
"responseUserName"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"联系人"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex"
:
"responseUserTel"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"联系电话"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA1"
},
{
"dataIndex"
:
"dispatchTime"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"派遣时间"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA2"
},
{
"dataIndex"
:
"arriveTime"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"到达时间"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA3"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/dispatchRecordSecond.json
0 → 100644
View file @
f35806a1
[
{
"dataIndex"
:
"name"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"名称"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataIndex"
:
"address"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"地址"
,
"key"
:
"D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataIndex"
:
"distance"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"距离"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataIndex"
:
"rescueLeader"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"救援负责人"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA1"
},
{
"dataIndex"
:
"rescueLeaderPhone"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"电话"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA2"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/emergencyBasic.json
0 → 100644
View file @
f35806a1
[
{
"key"
:
"dispatchStatus"
,
"label"
:
"派遣状态"
,
"type"
:
"text"
},
{
"key"
:
"dispatchUserName"
,
"label"
:
"派遣人"
,
"type"
:
"text"
},
{
"key"
:
"dispatchTime"
,
"label"
:
"派遣时间"
,
"type"
:
"text"
},
{
"key"
:
"arriveStatus"
,
"label"
:
"到达状态"
,
"type"
:
"text"
},
{
"key"
:
"arriveTime"
,
"label"
:
"到达时间"
,
"type"
:
"text"
},
{
"key"
:
"arriveUserName"
,
"label"
:
"记录人"
,
"type"
:
"text"
},
{
"key"
:
"arriveFeedbackType"
,
"label"
:
"反馈方式"
,
"type"
:
"text"
},
{
"key"
:
"casualtiesStatus"
,
"label"
:
"伤亡状态"
,
"type"
:
"text"
},
{
"key"
:
"casualtiesInfo"
,
"label"
:
"受伤人数"
,
"type"
:
"text"
},
{
"key"
:
"dieNum"
,
"label"
:
"死亡人数"
,
"type"
:
"text"
},
{
"key"
:
"rescueStatus"
,
"label"
:
"救援状态"
,
"type"
:
"text"
},
{
"key"
:
"rescueTime"
,
"label"
:
"完成时间"
,
"type"
:
"text"
},
{
"key"
:
"rescueUserName"
,
"label"
:
"记录人"
,
"type"
:
"text"
},
{
"key"
:
"rescueFeedbackType"
,
"label"
:
"反馈方式"
,
"type"
:
"text"
},
{
"key"
:
"isTimeout"
,
"label"
:
"是否超时"
,
"type"
:
"text"
},
{
"key"
:
"arriveUseTime"
,
"label"
:
"救援时长"
,
"type"
:
"text"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/repairFollow.json
0 → 100644
View file @
f35806a1
[
{
"key"
:
"responseUserName"
,
"label"
:
"维保响应人"
,
"type"
:
"text"
},
{
"key"
:
"responseUserTel"
,
"label"
:
"响应电话"
,
"type"
:
"text"
},
{
"key"
:
"feedbackType"
,
"label"
:
"反馈方式"
,
"type"
:
"text"
},
{
"key"
:
"fixResult"
,
"label"
:
"维修结果"
,
"type"
:
"text"
},
{
"key"
:
"feedbackFinishTime"
,
"label"
:
"维修完成时间"
,
"type"
:
"text"
},
{
"key"
:
"saveFeedbackUser"
,
"label"
:
"维修回访人"
,
"type"
:
"text"
},
{
"key"
:
"errorResult"
,
"label"
:
"故障原因"
,
"type"
:
"text"
},
{
"key"
:
"fixRemark"
,
"label"
:
"备注"
,
"type"
:
"text"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/json/rescueFollow.json
0 → 100644
View file @
f35806a1
[
{
"key"
:
"emergency"
,
"label"
:
"救援人"
,
"type"
:
"text"
},
{
"key"
:
"emergencyCall"
,
"label"
:
"救援电话"
,
"type"
:
"text"
},
{
"key"
:
"feedbackFinishTime"
,
"label"
:
"回访时间"
,
"type"
:
"text"
},
{
"key"
:
"feedbackUname"
,
"label"
:
"救援回访人"
,
"type"
:
"text"
},
{
"key"
:
"saveFeedbackResult"
,
"label"
:
"回访结果"
,
"type"
:
"text"
}
]
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/resources/json/emergency.json
View file @
f35806a1
...
@@ -10,6 +10,62 @@
...
@@ -10,6 +10,62 @@
"apiPath"
:
"/elevator/alert-called/detail/{id}"
"apiPath"
:
"/elevator/alert-called/detail/{id}"
}
}
}
}
},
{
"key"
:
"basic"
,
"displayName"
:
"救援过程"
,
"renderType"
:
"basic"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/elevator/alert-called/basicDetail/{id}"
}
}
},
{
"key"
:
"dispatchRecord"
,
"displayName"
:
"调派记录"
,
"renderType"
:
"table"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/elevator/alert-called/dispatchRecord/{id}"
}
}
},
{
"key"
:
"followRecords"
,
"displayName"
:
"回访记录"
,
"renderType"
:
"basic"
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/elevator/alert-called/followRecords/{id}"
}
}
},
{
"key"
:
"callRecords"
,
"displayName"
:
"通话记录"
,
"renderType"
:
"table"
,
"formSeq"
:
""
,
"dataConfig"
:
{
"api"
:
{
"httpMethod"
:
"GET"
,
"apiPath"
:
"/elevator/alert-called/callRecords/{id}"
}
},
"visualParams"
:
{
"rowKey"
:
"record"
,
"showPage"
:
false
,
"columns"
:
[
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"recDate"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"通话时间"
,
"key"
:
"AA6DE857-C788-494F-8F16-2ECFC7E34528"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"fileType"
,
"width"
:
160
,
"align"
:
"left"
,
"title"
:
"通话类型"
,
"key"
:
"611DAF3D-5B79-466C-BEF2-CC91580091FA"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"tel"
,
"width"
:
150
,
"align"
:
"left"
,
"title"
:
"电话号码"
,
"key"
:
"D1CB84A4-E037-446A-9469-65B76E381585"
},
{
"dataRenderingMode"
:
"defaultText"
,
"dataIndex"
:
"telTime"
,
"width"
:
180
,
"align"
:
"left"
,
"title"
:
"通话时长"
,
"key"
:
"0BB7318F-5134-42B6-A835-FC86D68066C2"
}
]
}
}
}
],
],
"content"
:
{
"content"
:
{
...
...
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