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
fed1bc87
Commit
fed1bc87
authored
Jul 25, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开发特种设备通讯录接口
parent
396f0f25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
InspectionController.java
.../boot/module/tzs/biz/controller/InspectionController.java
+27
-0
AlertCalledServiceImpl.java
...t/module/tzs/biz/service/impl/AlertCalledServiceImpl.java
+1
-1
pom.xml
pom.xml
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/InspectionController.java
View file @
fed1bc87
...
...
@@ -2,10 +2,14 @@ package com.yeejoin.amos.boot.module.tzs.biz.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.IdxUjer
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.feign.IdxFeignService
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.InspectionService
;
import
com.yeejoin.amos.component.feign.model.Page
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.StringUtils
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
...
...
@@ -15,6 +19,8 @@ import org.typroject.tyboot.core.restful.doc.TycloudOperation;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.List
;
@RestController
@RequestMapping
(
"/Inspection"
)
@Api
(
value
=
"双重预防 监察处置分析"
)
...
...
@@ -22,6 +28,8 @@ public class InspectionController {
@Autowired
InspectionService
inspectionService
;
@Autowired
IdxFeignService
idxFeignService
;
@GetMapping
(
"/bizDetailList"
)
@ApiOperation
(
value
=
"检察任务填报详情"
)
...
...
@@ -36,4 +44,23 @@ public class InspectionController {
IPage
<
IdxUjer
>
page
=
inspectionService
.
bizDetailList
(
dimensionTableId
,
selectValue
,
bizType
,
current
,
size
);
return
ResponseHelper
.
buildResponse
(
page
);
}
@GetMapping
(
"/contacts"
)
@ApiOperation
(
value
=
"通讯录"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
<
Page
>
contacts
(
@RequestParam
(
required
=
false
)
String
realName
,
@RequestParam
(
required
=
false
)
String
mobile
,
@RequestParam
(
required
=
false
)
String
dimensionTableId
,
@RequestParam
(
required
=
false
)
String
selectValue
,
@RequestParam
int
current
,
@RequestParam
int
size
)
{
List
<
String
>
ids
=
null
;
if
(
StringUtils
.
hasText
(
selectValue
))
{
ids
=
idxFeignService
.
getTreeChildIds
(
dimensionTableId
,
selectValue
).
getResult
();
}
Page
result
=
Privilege
.
agencyUserClient
.
queryForPage
(
null
,
realName
,
mobile
,
null
,
current
,
size
,
ids
).
getResult
();
return
ResponseHelper
.
buildResponse
(
result
);
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/AlertCalledServiceImpl.java
View file @
fed1bc87
...
...
@@ -388,7 +388,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
@Override
public
List
<
DutySeatDto
>
getSeatInfos
()
{
// 获取人员信息
FeignClientResult
<
List
<
AgencyUserModel
>>
userListResult
=
Privilege
.
agencyUserClient
.
list
(
null
);
FeignClientResult
<
List
<
AgencyUserModel
>>
userListResult
=
Privilege
.
agencyUserClient
.
list
(
null
,
null
);
List
<
AgencyUserModel
>
userList
=
userListResult
.
getResult
();
List
<
DutySeatDto
>
dutyList
=
new
ArrayList
<>();
userList
.
stream
().
forEach
(
u
->
{
...
...
pom.xml
View file @
fed1bc87
...
...
@@ -25,7 +25,7 @@
<springcloud.version>
Hoxton.SR8
</springcloud.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<tyboot-version>
1.1.20
</tyboot-version>
<amos.version>
1.7.
8
</amos.version>
<amos.version>
1.7.
10-SNAPSHOT
</amos.version>
<itext.version>
7.1.1
</itext.version>
<elasticsearch.version>
7.15.2
</elasticsearch.version>
</properties>
...
...
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