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
ace9fd26
Commit
ace9fd26
authored
Sep 07, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
579aebcc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
5 deletions
+16
-5
AlertCalledRecordDto.java
...os/boot/module/elevator/api/dto/AlertCalledRecordDto.java
+3
-0
AlertCalledMapper.java
...os/boot/module/elevator/api/mapper/AlertCalledMapper.java
+2
-1
IAlertCalledService.java
...boot/module/elevator/api/service/IAlertCalledService.java
+1
-1
AlertCalledMapper.xml
...96333-api/src/main/resources/mapper/AlertCalledMapper.xml
+6
-0
AlertCalledController.java
...module/elevator/biz/controller/AlertCalledController.java
+2
-1
AlertCalledServiceImpl.java
...ule/elevator/biz/service/impl/AlertCalledServiceImpl.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/java/com/yeejoin/amos/boot/module/elevator/api/dto/AlertCalledRecordDto.java
View file @
ace9fd26
...
@@ -8,6 +8,7 @@ import lombok.Data;
...
@@ -8,6 +8,7 @@ import lombok.Data;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
/**
/**
* 接警记录导出
* 接警记录导出
...
@@ -49,4 +50,6 @@ public class AlertCalledRecordDto {
...
@@ -49,4 +50,6 @@ public class AlertCalledRecordDto {
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
callTimeEnd
;
private
Date
callTimeEnd
;
@ExcelIgnore
List
<
String
>
ids
;
}
}
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/java/com/yeejoin/amos/boot/module/elevator/api/mapper/AlertCalledMapper.java
View file @
ace9fd26
...
@@ -103,7 +103,8 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
...
@@ -103,7 +103,8 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
String
type
,
String
type
,
String
alertSource
,
String
alertSource
,
String
alarmType
,
String
alarmType
,
@Param
(
"list"
)
Set
<
String
>
userIds
);
@Param
(
"list"
)
Set
<
String
>
userIds
,
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
AlertPaperInfoDto
>
getAlertPaperInfoList
(
@Param
(
"regionCodes"
)
List
<
String
>
regionCodes
,
@Param
(
"isHistory"
)
Boolean
isHistory
);
List
<
AlertPaperInfoDto
>
getAlertPaperInfoList
(
@Param
(
"regionCodes"
)
List
<
String
>
regionCodes
,
@Param
(
"isHistory"
)
Boolean
isHistory
);
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/java/com/yeejoin/amos/boot/module/elevator/api/service/IAlertCalledService.java
View file @
ace9fd26
...
@@ -82,7 +82,7 @@ public interface IAlertCalledService {
...
@@ -82,7 +82,7 @@ public interface IAlertCalledService {
* @param alarmType
* @param alarmType
* @return
* @return
*/
*/
List
<
AlertCalledRecordDto
>
queryAlertRecordListByQueryDto
(
String
callTimeStart
,
String
callTimeEnd
,
String
type
,
String
alertSource
,
String
alarmType
,
Set
<
String
>
userIds
);
List
<
AlertCalledRecordDto
>
queryAlertRecordListByQueryDto
(
String
callTimeStart
,
String
callTimeEnd
,
String
type
,
String
alertSource
,
String
alarmType
,
Set
<
String
>
userIds
,
List
<
String
>
ids
);
/**
/**
* 获取坐席信息
* 获取坐席信息
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
ace9fd26
...
@@ -530,6 +530,12 @@
...
@@ -530,6 +530,12 @@
#{id}
#{id}
</foreach>
</foreach>
</if>
</if>
<if
test=
"ids != null "
>
and a.sequence_nbr in
<foreach
collection=
"ids"
item=
"id"
separator=
","
open=
"("
close=
")"
>
#{id}
</foreach>
</if>
</select>
</select>
...
...
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 @
ace9fd26
...
@@ -547,7 +547,8 @@ public class AlertCalledController extends BaseController {
...
@@ -547,7 +547,8 @@ public class AlertCalledController extends BaseController {
alertCalledQueryDto
.
getType
(),
alertCalledQueryDto
.
getType
(),
alertCalledQueryDto
.
getAlertSource
(),
alertCalledQueryDto
.
getAlertSource
(),
alertCalledQueryDto
.
getAlarmType
(),
alertCalledQueryDto
.
getAlarmType
(),
userIds
);
userIds
,
alertCalledQueryDto
.
getIds
());
String
fileName
=
"接警记录"
+
System
.
currentTimeMillis
();
String
fileName
=
"接警记录"
+
System
.
currentTimeMillis
();
ExcelUtil
.
createTemplate
(
response
,
fileName
,
"接警记录"
,
list
,
AlertCalledRecordDto
.
class
,
null
,
false
);
ExcelUtil
.
createTemplate
(
response
,
fileName
,
"接警记录"
,
list
,
AlertCalledRecordDto
.
class
,
null
,
false
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/AlertCalledServiceImpl.java
View file @
ace9fd26
...
@@ -449,8 +449,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
...
@@ -449,8 +449,8 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
}
}
@Override
@Override
public
List
<
AlertCalledRecordDto
>
queryAlertRecordListByQueryDto
(
String
callTimeStart
,
String
callTimeEnd
,
String
type
,
String
alertSource
,
String
alarmType
,
Set
<
String
>
userIds
)
{
public
List
<
AlertCalledRecordDto
>
queryAlertRecordListByQueryDto
(
String
callTimeStart
,
String
callTimeEnd
,
String
type
,
String
alertSource
,
String
alarmType
,
Set
<
String
>
userIds
,
List
<
String
>
ids
)
{
List
<
AlertCalledRecordDto
>
list
=
alertCalledMapper
.
queryAlertRecordListByQueryDto
(
callTimeStart
,
callTimeEnd
,
type
,
alertSource
,
alarmType
,
userIds
);
List
<
AlertCalledRecordDto
>
list
=
alertCalledMapper
.
queryAlertRecordListByQueryDto
(
callTimeStart
,
callTimeEnd
,
type
,
alertSource
,
alarmType
,
userIds
,
ids
);
return
list
;
return
list
;
}
}
...
...
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