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
5f5e4daa
Commit
5f5e4daa
authored
Oct 31, 2022
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
96333今日值班添加角色过滤
parent
8b72ba6d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
AlertCalledServiceImpl.java
...t/module/tzs/biz/service/impl/AlertCalledServiceImpl.java
+6
-1
application-dev.properties
...ule-tzs-biz/src/main/resources/application-dev.properties
+3
-2
No files found.
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 @
5f5e4daa
...
@@ -112,6 +112,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
...
@@ -112,6 +112,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
@Autowired
@Autowired
TzsAuthService
tzsAuthService
;
TzsAuthService
tzsAuthService
;
@Value
(
"${duty.seats.role.ids}"
)
private
String
dutySeatsRoleIds
;
private
final
Logger
logger
=
LogManager
.
getLogger
(
AlertCalledServiceImpl
.
class
);
private
final
Logger
logger
=
LogManager
.
getLogger
(
AlertCalledServiceImpl
.
class
);
...
@@ -388,7 +391,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
...
@@ -388,7 +391,9 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
@Override
@Override
public
List
<
DutySeatDto
>
getSeatInfos
()
{
public
List
<
DutySeatDto
>
getSeatInfos
()
{
// 获取人员信息
// 获取人员信息
FeignClientResult
<
List
<
AgencyUserModel
>>
userListResult
=
Privilege
.
agencyUserClient
.
list
(
null
,
null
);
// FeignClientResult<List<AgencyUserModel>> userListResult = Privilege.agencyUserClient.list(null,null);
FeignClientResult
<
List
<
AgencyUserModel
>>
userListResult
=
Privilege
.
agencyUserClient
.
queryByRoleId
(
dutySeatsRoleIds
,
null
);
List
<
AgencyUserModel
>
userList
=
userListResult
.
getResult
();
List
<
AgencyUserModel
>
userList
=
userListResult
.
getResult
();
List
<
DutySeatDto
>
dutyList
=
new
ArrayList
<>();
List
<
DutySeatDto
>
dutyList
=
new
ArrayList
<>();
userList
.
stream
().
forEach
(
u
->
{
userList
.
stream
().
forEach
(
u
->
{
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/resources/application-dev.properties
View file @
5f5e4daa
...
@@ -53,4 +53,5 @@ rule.definition.model-package=com.yeejoin.amos.boot.module.tzs.api.dto
...
@@ -53,4 +53,5 @@ rule.definition.model-package=com.yeejoin.amos.boot.module.tzs.api.dto
rule.definition.default-agency
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.localIp
=
172.16.3.39
rule.definition.localIp
=
172.16.3.39
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
\ No newline at end of file
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
\ No newline at end of file
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