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
5aff8f79
Commit
5aff8f79
authored
Feb 29, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增跑马灯列表分页与列表接口
parent
77be00c2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
0 deletions
+61
-0
McbWarningFeign.java
...oin/amos/boot/module/jxiop/api/feign/McbWarningFeign.java
+21
-0
IMcbWarningService.java
...mos/boot/module/jxiop/api/service/IMcbWarningService.java
+3
-0
McbWarningController.java
...oot/module/jxiop/biz/controller/McbWarningController.java
+15
-0
McbWarningServiceImpl.java
.../module/jxiop/biz/service/impl/McbWarningServiceImpl.java
+22
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/feign/McbWarningFeign.java
View file @
5aff8f79
...
...
@@ -81,4 +81,25 @@ public interface McbWarningFeign {
@RequestParam
(
"codes"
)
List
<
String
>
codes
,
@RequestParam
(
value
=
"operator"
,
defaultValue
=
"="
)
String
operator
);
/**
* 跑马灯列表数据分页查询
*/
@GetMapping
(
"/monitor/overview/getLampListPage"
)
FeignClientResult
getLampListPage
(
@RequestParam
String
questionRectificationStatus
,
@RequestParam
(
"codes"
)
List
<
String
>
codes
,
@RequestParam
(
value
=
"operator"
,
defaultValue
=
"="
)
String
operator
,
Page
page
);
/**
* 跑马灯列表数据查询
*/
@GetMapping
(
"/monitor/overview/getLampListList"
)
FeignClientResult
getLampListList
(
@RequestParam
String
questionRectificationStatus
,
@RequestParam
(
"codes"
)
List
<
String
>
codes
,
@RequestParam
(
value
=
"operator"
,
defaultValue
=
"="
)
String
operator
);
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/service/IMcbWarningService.java
View file @
5aff8f79
...
...
@@ -89,4 +89,7 @@ public interface IMcbWarningService {
Object
getMapRouteInfoByCodes
(
String
province
);
Object
getLampListPageByCodes
(
String
questionRectificationStatus
,
Page
page
);
Object
getLampListByCodes
(
String
questionRectificationStatus
);
}
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/McbWarningController.java
View file @
5aff8f79
...
...
@@ -150,4 +150,19 @@ public class McbWarningController {
public
ResponseModel
<
Object
>
getMapRouteInfoByCodes
(
@RequestParam
String
province
)
{
return
ResponseHelper
.
buildResponse
(
mcbWarningService
.
getMapRouteInfoByCodes
(
province
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"跑马灯列表数据分页查询"
,
notes
=
"任务总览地图数据"
)
@GetMapping
(
value
=
"/warning-warning-info/getLampListPageByCodes"
)
public
ResponseModel
<
Object
>
getLampListPageByCodes
(
@RequestParam
(
value
=
"questionRectificationStatus"
,
required
=
false
)
String
questionRectificationStatus
,
Page
page
)
{
return
ResponseHelper
.
buildResponse
(
mcbWarningService
.
getLampListPageByCodes
(
questionRectificationStatus
,
page
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"跑马灯列表数据查询"
,
notes
=
"任务总览地图数据"
)
@GetMapping
(
value
=
"/warning-warning-info/getLampListByCodes"
)
public
ResponseModel
<
Object
>
getLampListByCodes
(
@RequestParam
(
value
=
"questionRectificationStatus"
,
required
=
false
)
String
questionRectificationStatus
)
{
return
ResponseHelper
.
buildResponse
(
mcbWarningService
.
getLampListByCodes
(
questionRectificationStatus
));
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/McbWarningServiceImpl.java
View file @
5aff8f79
...
...
@@ -280,6 +280,28 @@ public class McbWarningServiceImpl implements IMcbWarningService {
return
result
.
getResult
();
}
@Override
public
Object
getLampListPageByCodes
(
String
questionRectificationStatus
,
Page
page
)
{
List
<
String
>
projectOrgCodes
=
this
.
getProjectOrgCodes
();
if
(
projectOrgCodes
.
isEmpty
())
{
projectOrgCodes
.
add
(
"NULL"
);
}
FeignClientResult
<
Object
>
result
=
mcbWarningFeign
.
getLampListPage
(
questionRectificationStatus
,
projectOrgCodes
,
"in"
,
page
);
return
result
.
getResult
();
}
@Override
public
Object
getLampListByCodes
(
String
questionRectificationStatus
)
{
List
<
String
>
projectOrgCodes
=
this
.
getProjectOrgCodes
();
if
(
projectOrgCodes
.
isEmpty
())
{
projectOrgCodes
.
add
(
"NULL"
);
}
FeignClientResult
<
Object
>
result
=
mcbWarningFeign
.
getLampListList
(
questionRectificationStatus
,
projectOrgCodes
,
"in"
);
return
result
.
getResult
();
}
/**
* 获取用户权限(此处使用projectOrgCode)
*
...
...
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