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
9ae27903
Commit
9ae27903
authored
Sep 24, 2021
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防火监督修改
parent
b16a9093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
DangerFeignClient.java
...in/amos/supervision/business/feign/DangerFeignClient.java
+8
-8
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-supervision-biz/src/main/java/com/yeejoin/amos/supervision/business/feign/DangerFeignClient.java
View file @
9ae27903
...
@@ -13,27 +13,27 @@ import java.util.List;
...
@@ -13,27 +13,27 @@ import java.util.List;
/**
/**
* @author DELL
* @author DELL
*/
*/
@FeignClient
(
value
=
"A
PI-DANGER-API"
,
path
=
"danger"
)
@FeignClient
(
value
=
"A
MOS-LATENT-DANGER"
,
path
=
"latentDanger/api/latent/danger"
,
configuration
=
FeignConfiguration
.
class
)
public
interface
DangerFeignClient
{
public
interface
DangerFeignClient
{
/**
/**
* 隐患详情
* 隐患详情
*
*
* @param
sequenceNbr
隐患主键
* @param
id
隐患主键
* @return FeignClientResult
* @return FeignClientResult
*/
*/
@GetMapping
(
value
=
"/
{sequenceNbr}/
detail"
)
@GetMapping
(
value
=
"/detail"
)
FeignClientResult
<
DangerDto
>
getOne
(
@
PathVariable
Long
sequenceNbr
);
FeignClientResult
<
DangerDto
>
getOne
(
@
RequestParam
Long
id
);
/**
/**
* 隐患的创建或者更新
* 隐患的创建或者更新
*
*
* @param
danger
隐患对象数组
* @param
latentDangerDtoList
隐患对象数组
* @return FeignClientResult
* @return FeignClientResult
*/
*/
@PostMapping
(
value
=
"/
saveOrUpdateBatch
"
)
@PostMapping
(
value
=
"/
patrol/save
"
)
FeignClientResult
<
List
<
DangerDto
>>
saveOrUpdateBatch
(
@RequestBody
List
<
DangerDto
>
danger
);
FeignClientResult
<
List
<
DangerDto
>>
saveOrUpdateBatch
(
@RequestBody
List
<
DangerDto
>
latentDangerDtoList
);
/**
/**
* 隐患分页查询
* 隐患分页查询
...
@@ -44,7 +44,7 @@ public interface DangerFeignClient {
...
@@ -44,7 +44,7 @@ public interface DangerFeignClient {
* @param dangerState 隐患状态
* @param dangerState 隐患状态
* @return FeignClientResult
* @return FeignClientResult
*/
*/
@GetMapping
(
value
=
"/page
-
list"
)
@GetMapping
(
value
=
"/page
/
list"
)
FeignClientResult
<
IPage
<
DangerDto
>>
pageList
(
Page
page
,
@RequestParam
String
ids
,
@RequestParam
(
required
=
false
)
String
dangerLevel
,
@RequestParam
(
required
=
false
)
String
dangerState
);
FeignClientResult
<
IPage
<
DangerDto
>>
pageList
(
Page
page
,
@RequestParam
String
ids
,
@RequestParam
(
required
=
false
)
String
dangerLevel
,
@RequestParam
(
required
=
false
)
String
dangerState
);
...
...
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