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
4769dead
Commit
4769dead
authored
Feb 11, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
两员配备统计列表序号显示负数
parent
7364b1ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
TzsTwoStaffingController.java
...t/module/tcm/biz/controller/TzsTwoStaffingController.java
+7
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzsTwoStaffingController.java
View file @
4769dead
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tcm
.
biz
.
controller
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.collection.CollUtil
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
...
@@ -83,7 +84,12 @@ public class TzsTwoStaffingController extends BaseController {
...
@@ -83,7 +84,12 @@ public class TzsTwoStaffingController extends BaseController {
ArrayList
<
LinkedHashMap
>
result
=
new
ArrayList
<>();
ArrayList
<
LinkedHashMap
>
result
=
new
ArrayList
<>();
List
<
LinkedHashMap
>
list
=
tzsUserInfoServiceImpl
.
screenData
(
result
,
data
,
sequenceNbr
);
List
<
LinkedHashMap
>
list
=
tzsUserInfoServiceImpl
.
screenData
(
result
,
data
,
sequenceNbr
);
Page
<
TzsTwoStaffing
>
tzsTwoStaffingPage
=
new
Page
<>();
Page
<
TzsTwoStaffing
>
tzsTwoStaffingPage
=
new
Page
<>();
tzsTwoStaffingPage
.
setRecords
(
tzsTwoStaffingService
.
getStatisticsMessage
(
list
,
type
));
List
<
TzsTwoStaffing
>
statisticsMessage
=
tzsTwoStaffingService
.
getStatisticsMessage
(
list
,
type
);
tzsTwoStaffingPage
.
setRecords
(
statisticsMessage
);
if
(
CollUtil
.
isNotEmpty
(
statisticsMessage
)){
tzsTwoStaffingPage
.
setPages
(
1
);
tzsTwoStaffingPage
.
setTotal
(
statisticsMessage
.
size
());
}
return
ResponseHelper
.
buildResponse
(
tzsTwoStaffingPage
);
return
ResponseHelper
.
buildResponse
(
tzsTwoStaffingPage
);
}
}
...
...
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