Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
57128127
Commit
57128127
authored
Jan 15, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡分页
parent
bc0d9467
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
SrvOrganController.java
.../java/com/hungraim/ltc/controller/SrvOrganController.java
+4
-4
ChSrvTaskDetailMapper.java
...main/java/com/hungraim/ltc/dao/ChSrvTaskDetailMapper.java
+1
-1
SrvOrganEmpService.java
...ain/java/com/hungraim/ltc/service/SrvOrganEmpService.java
+1
-1
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+3
-2
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/SrvOrganController.java
View file @
57128127
...
...
@@ -289,10 +289,10 @@ public class SrvOrganController {
*/
@GetMapping
(
"/chSrvTaskDetailQuery"
)
public
Result
chSrvTaskDetailQuery
(
Integer
pageNum
,
Integer
pageSize
,
Long
empId
){
Page
<
ChSrvTaskDetailVo
>
page
=
new
Page
<>(
pageNum
,
pageSize
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetails
=
srvOrganEmpService
.
chSrvTaskDetailQuery
(
page
,
empId
);
if
(
chSrvTaskDetails
.
size
()>
0
&&
!
chSrvTaskDetails
.
isEmpty
()
){
return
Result
.
success
(
chSrvTaskDetails
);
Page
<
ChSrvTaskDetailVo
>
page
=
new
Page
<>(
2
,
10
);
page
=
srvOrganEmpService
.
chSrvTaskDetailQuery
(
page
,
6L
);
if
(
page
.
getSize
()>
0
){
return
Result
.
success
(
page
);
}
else
{
return
Result
.
failed
(
ResultCode
.
SRV_ORGAN_NOT_QUERY
);
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/dao/ChSrvTaskDetailMapper.java
View file @
57128127
...
...
@@ -21,7 +21,7 @@ public interface ChSrvTaskDetailMapper extends BaseMapper<ChSrvTaskDetail> {
* @param empId
* @return
*/
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
Page
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/SrvOrganEmpService.java
View file @
57128127
...
...
@@ -68,7 +68,7 @@ public interface SrvOrganEmpService {
Workbook
srvOrganExport
(
Long
organId
,
Boolean
isInvolveChild
,
String
empName
,
String
srvOrganName
,
String
certifNum
,
Short
isLock
,
Short
empType
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
Page
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
int
chSrvTaskDetailDelete
(
long
taskDetailId
,
String
userName
);
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
57128127
...
...
@@ -3,6 +3,7 @@ package com.hungraim.ltc.service.impl;
import
cn.afterturn.easypoi.excel.ExcelExportUtil
;
import
cn.afterturn.easypoi.excel.entity.ExportParams
;
import
cn.afterturn.easypoi.excel.entity.enmus.ExcelType
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.api.AttachFeignService
;
import
com.hungraim.ltc.dao.*
;
...
...
@@ -164,8 +165,8 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
}
@Override
public
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
)
{
return
chSrvTaskDetailMapper
.
chSrvTaskDetailQuery
(
page
,
empId
);
public
Page
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
)
{
return
chSrvTaskDetailMapper
.
chSrvTaskDetailQuery
(
page
,
empId
);
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
...
...
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