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
a4ca7e7f
Commit
a4ca7e7f
authored
Sep 28, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
故障报修 web 总条数返回
parent
4847b0ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
FailureDetailsMapper.java
...s/boot/module/common/api/mapper/FailureDetailsMapper.java
+1
-0
FailureDetailsMapper.xml
...on-api/src/main/resources/mapper/FailureDetailsMapper.xml
+4
-0
FailureDetailsServiceImpl.java
...le/common/biz/service/impl/FailureDetailsServiceImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/mapper/FailureDetailsMapper.java
View file @
a4ca7e7f
...
...
@@ -38,6 +38,7 @@ public interface FailureDetailsMapper extends BaseMapper<FailureDetails> {
String
startTime
,
String
endTime
,
String
submissionName
,
Long
submissionBranchId
,
Long
sequenceNbr
);
int
selectAllCount
();
/**
* 查询我发起的 分页
* current 当前页
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FailureDetailsMapper.xml
View file @
a4ca7e7f
...
...
@@ -32,6 +32,10 @@
order by submission_time DESC limit #{current},#{size};
</select>
<select
id=
"selectAllCount"
resultType=
"int"
>
SELECT COUNT(*) FROM cb_failure_details
</select>
<select
id=
"selectWebPage"
resultType=
"com.yeejoin.amos.boot.module.common.api.dto.FailureDetailsDto"
>
SELECT
sequence_nbr,
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/FailureDetailsServiceImpl.java
View file @
a4ca7e7f
...
...
@@ -144,7 +144,7 @@ public class FailureDetailsServiceImpl extends BaseService<FailureDetailsDto, Fa
IPage
<
FailureDetailsDto
>
iPage
=
new
Page
<>();
iPage
.
setRecords
(
list
);
iPage
.
setTotal
(
list
.
size
());
iPage
.
setTotal
(
baseMapper
.
selectAllCount
());
return
iPage
;
}
...
...
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