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
74a95085
Commit
74a95085
authored
Sep 07, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
96333坐席数据过滤修改
parent
ace9fd26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
AlertCalledMapper.xml
...96333-api/src/main/resources/mapper/AlertCalledMapper.xml
+2
-2
AlertCalledController.java
...module/elevator/biz/controller/AlertCalledController.java
+7
-5
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
74a95085
...
@@ -524,13 +524,13 @@
...
@@ -524,13 +524,13 @@
<if
test=
"alarmType != null and alarmType != ''"
>
<if
test=
"alarmType != null and alarmType != ''"
>
AND a.alarm_type = #{alarmType}
AND a.alarm_type = #{alarmType}
</if>
</if>
<if
test=
"list != null "
>
<if
test=
"list != null
and list.size() > 0
"
>
and a.rec_user_id in
and a.rec_user_id in
<foreach
collection=
"list"
item=
"id"
separator=
","
open=
"("
close=
")"
>
<foreach
collection=
"list"
item=
"id"
separator=
","
open=
"("
close=
")"
>
#{id}
#{id}
</foreach>
</foreach>
</if>
</if>
<if
test=
"ids != null "
>
<if
test=
"ids != null
and ids.size() > 0
"
>
and a.sequence_nbr in
and a.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
separator=
","
open=
"("
close=
")"
>
<foreach
collection=
"ids"
item=
"id"
separator=
","
open=
"("
close=
")"
>
#{id}
#{id}
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/controller/AlertCalledController.java
View file @
74a95085
...
@@ -408,14 +408,16 @@ public class AlertCalledController extends BaseController {
...
@@ -408,14 +408,16 @@ public class AlertCalledController extends BaseController {
//根据当前登陆人的所在区域 找到该区域内的接警人id 再找到相关警情
//根据当前登陆人的所在区域 找到该区域内的接警人id 再找到相关警情
Set
<
String
>
userIds
=
new
HashSet
<>();
Set
<
String
>
userIds
=
new
HashSet
<>();
String
regionCode
=
this
.
getSelectedOrgInfo
().
getCompany
().
getRegion
Code
();
String
companyCode
=
this
.
getSelectedOrgInfo
().
getCompany
().
getCompany
Code
();
List
<
TzsCitInfo
>
citInfoList
=
citInfoService
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getRegionCode
,
region
Code
));
List
<
TzsCitInfo
>
citInfoList
=
citInfoService
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getRegionCode
,
company
Code
));
if
(!
ValidationUtil
.
isEmpty
(
citInfoList
)){
if
(!
ValidationUtil
.
isEmpty
(
citInfoList
)){
for
(
TzsCitInfo
citInfo
:
citInfoList
){
for
(
TzsCitInfo
citInfo
:
citInfoList
){
userIds
.
add
(
citInfo
.
getCtiUserId
());
userIds
.
add
(
citInfo
.
getCtiUserId
());
}
}
}
}
queryWrapper
.
in
(
"rec_user_id"
,
userIds
);
if
(!
ValidationUtil
.
isEmpty
(
userIds
))
{
queryWrapper
.
in
(
"rec_user_id"
,
userIds
);
}
if
(
sort
!=
null
)
{
// 排序失效
if
(
sort
!=
null
)
{
// 排序失效
String
[]
date
=
sort
.
split
(
","
);
String
[]
date
=
sort
.
split
(
","
);
...
@@ -532,8 +534,8 @@ public class AlertCalledController extends BaseController {
...
@@ -532,8 +534,8 @@ public class AlertCalledController extends BaseController {
public
void
exportAlertRecord
(
AlertCalledRecordDto
alertCalledQueryDto
,
HttpServletResponse
response
)
{
public
void
exportAlertRecord
(
AlertCalledRecordDto
alertCalledQueryDto
,
HttpServletResponse
response
)
{
//根据当前登陆人的所在区域 找到该区域内的接警人id 再找到相关警情
//根据当前登陆人的所在区域 找到该区域内的接警人id 再找到相关警情
Set
<
String
>
userIds
=
new
HashSet
<>();
Set
<
String
>
userIds
=
new
HashSet
<>();
String
regionCode
=
this
.
getSelectedOrgInfo
().
getCompany
().
getRegion
Code
();
String
companyCode
=
this
.
getSelectedOrgInfo
().
getCompany
().
getCompany
Code
();
List
<
TzsCitInfo
>
citInfoList
=
citInfoService
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getRegionCode
,
region
Code
));
List
<
TzsCitInfo
>
citInfoList
=
citInfoService
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getRegionCode
,
company
Code
));
if
(!
ValidationUtil
.
isEmpty
(
citInfoList
))
{
if
(!
ValidationUtil
.
isEmpty
(
citInfoList
))
{
for
(
TzsCitInfo
citInfo
:
citInfoList
)
{
for
(
TzsCitInfo
citInfo
:
citInfoList
)
{
userIds
.
add
(
citInfo
.
getCtiUserId
());
userIds
.
add
(
citInfo
.
getCtiUserId
());
...
...
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