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
cf7879cb
Commit
cf7879cb
authored
Feb 02, 2024
by
李秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 提交地图接口
parent
c2ae4797
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
McbWarningController.java
...oot/module/jxiop/biz/controller/McbWarningController.java
+8
-0
IMcbWarningService.java
...mos/boot/module/jxiop/biz/service/IMcbWarningService.java
+7
-0
McbWarningServiceImpl.java
.../module/jxiop/biz/service/impl/McbWarningServiceImpl.java
+17
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/McbWarningController.java
View file @
cf7879cb
...
...
@@ -81,4 +81,12 @@ public class McbWarningController {
}};
return
ResponseHelper
.
buildResponse
(
result
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"[监测总览]地图点位/路线"
,
notes
=
"[监测总览]地图点位/路线"
)
@GetMapping
(
value
=
"/map/routes"
)
public
ResponseModel
<
Object
>
queryMapRoutes
(
@RequestParam
(
value
=
"province"
,
required
=
false
)
String
province
)
{
return
ResponseHelper
.
buildResponse
(
IMcbWarningService
.
queryMapRoutes
(
province
));
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/IMcbWarningService.java
View file @
cf7879cb
...
...
@@ -52,4 +52,11 @@ public interface IMcbWarningService {
*/
Long
queryQuestionCount
(
Integer
completionStatus
);
/**
* 获取地图点位/路线
*
* @return 地图点位/路线
*/
Object
queryMapRoutes
(
String
province
);
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/McbWarningServiceImpl.java
View file @
cf7879cb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jxiop.api.feign.McbWarningFeign
;
import
com.yeejoin.amos.boot.module.jxiop.biz.mapper2.McbWarningMapper
;
import
com.yeejoin.amos.boot.module.jxiop.biz.service.IMcbWarningService
;
import
com.yeejoin.amos.boot.module.jxiop.biz.service.IPermissionService
;
...
...
@@ -21,6 +22,9 @@ public class McbWarningServiceImpl implements IMcbWarningService {
@Autowired
private
IPermissionService
permissionService
;
@Autowired
private
McbWarningFeign
mcbWarningFeign
;
/**
* 今日预警-预警总数
*
...
...
@@ -107,6 +111,19 @@ public class McbWarningServiceImpl implements IMcbWarningService {
}
/**
* 获取地图点位/路线
*
* @param province 省份
* @return 地图点位/路线
*/
@Override
public
Object
queryMapRoutes
(
String
province
)
{
List
<
String
>
projectOrgCodes
=
this
.
getProjectOrgCodes
();
// TODO: 远程调用warning服务
return
null
;
}
/**
* 获取用户权限(此处使用gatewayId)
*
* @return gatewayIds
...
...
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