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
a2a48d3d
Commit
a2a48d3d
authored
Oct 20, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患修改
parent
eae33010
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
LatentDangerController.java
...entdanger/business/controller/LatentDangerController.java
+6
-3
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-latentdanger-biz/src/main/java/com/yeejoin/amos/latentdanger/business/controller/LatentDangerController.java
View file @
a2a48d3d
...
...
@@ -241,7 +241,8 @@ public class LatentDangerController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
listDanger
(
@ApiParam
(
value
=
"查询条件"
,
required
=
true
)
@RequestBody
PageParam
pageParam
)
throws
Exception
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
pageParam
.
put
(
"orgCode"
,
reginParams
.
getCompany
().
getOrgCode
());
String
loginOrgCode
=
getOrgCode
(
reginParams
);
pageParam
.
put
(
"orgCode"
,
loginOrgCode
);
IPage
<
LatentDanger
>
result
=
iLatentDangerService
.
pageListDanger
(
pageParam
);
return
ResponseHelper
.
buildResponse
(
result
);
}
...
...
@@ -297,7 +298,8 @@ public class LatentDangerController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
<
List
<
LatentDanger
>>
listAllDanger
(
@RequestBody
LatentDangerListParam
searchParam
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
searchParam
.
setOrgCode
(
reginParams
.
getCompany
().
getOrgCode
());
String
loginOrgCode
=
getOrgCode
(
reginParams
);
searchParam
.
setOrgCode
(
loginOrgCode
);
return
ResponseHelper
.
buildResponse
(
iLatentDangerService
.
listAllDanger
(
searchParam
));
}
...
...
@@ -341,7 +343,8 @@ public class LatentDangerController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
reviewListDanger
(
@ApiParam
(
value
=
"查询条件"
,
required
=
true
)
@RequestBody
PageParam
pageParam
)
throws
Exception
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
pageParam
.
put
(
"orgCode"
,
reginParams
.
getCompany
().
getOrgCode
());
String
loginOrgCode
=
getOrgCode
(
reginParams
);
pageParam
.
put
(
"orgCode"
,
loginOrgCode
);
IPage
<
LatentDanger
>
result
=
iLatentDangerService
.
reviewListDanger
(
pageParam
);
return
ResponseHelper
.
buildResponse
(
result
);
}
...
...
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