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
bc0d9467
Commit
bc0d9467
authored
Jan 15, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打卡分页
parent
8f9eac61
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
SrvOrganController.java
.../java/com/hungraim/ltc/controller/SrvOrganController.java
+3
-2
ChSrvTaskDetailMapper.java
...main/java/com/hungraim/ltc/dao/ChSrvTaskDetailMapper.java
+2
-1
SrvOrganEmpService.java
...ain/java/com/hungraim/ltc/service/SrvOrganEmpService.java
+1
-1
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+2
-2
ChSrvTaskDetailVo.java
...a/com/hungraim/ltc/pojo/vo/disable/ChSrvTaskDetailVo.java
+1
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/SrvOrganController.java
View file @
bc0d9467
...
@@ -288,8 +288,9 @@ public class SrvOrganController {
...
@@ -288,8 +288,9 @@ public class SrvOrganController {
* @return
* @return
*/
*/
@GetMapping
(
"/chSrvTaskDetailQuery"
)
@GetMapping
(
"/chSrvTaskDetailQuery"
)
public
Result
chSrvTaskDetailQuery
(
Long
empId
){
public
Result
chSrvTaskDetailQuery
(
Integer
pageNum
,
Integer
pageSize
,
Long
empId
){
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetails
=
srvOrganEmpService
.
chSrvTaskDetailQuery
(
1L
);
Page
<
ChSrvTaskDetailVo
>
page
=
new
Page
<>(
pageNum
,
pageSize
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetails
=
srvOrganEmpService
.
chSrvTaskDetailQuery
(
page
,
empId
);
if
(
chSrvTaskDetails
.
size
()>
0
&&
!
chSrvTaskDetails
.
isEmpty
()){
if
(
chSrvTaskDetails
.
size
()>
0
&&
!
chSrvTaskDetails
.
isEmpty
()){
return
Result
.
success
(
chSrvTaskDetails
);
return
Result
.
success
(
chSrvTaskDetails
);
}
else
{
}
else
{
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/dao/ChSrvTaskDetailMapper.java
View file @
bc0d9467
package
com
.
hungraim
.
ltc
.
dao
;
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail
;
import
com.hungraim.ltc.pojo.vo.disable.ChSrvTaskDetailVo
;
import
com.hungraim.ltc.pojo.vo.disable.ChSrvTaskDetailVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
...
@@ -20,7 +21,7 @@ public interface ChSrvTaskDetailMapper extends BaseMapper<ChSrvTaskDetail> {
...
@@ -20,7 +21,7 @@ public interface ChSrvTaskDetailMapper extends BaseMapper<ChSrvTaskDetail> {
* @param empId
* @param empId
* @return
* @return
*/
*/
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Long
empId
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
}
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/SrvOrganEmpService.java
View file @
bc0d9467
...
@@ -68,7 +68,7 @@ public interface SrvOrganEmpService {
...
@@ -68,7 +68,7 @@ public interface SrvOrganEmpService {
Workbook
srvOrganExport
(
Long
organId
,
Boolean
isInvolveChild
,
String
empName
,
String
srvOrganName
,
String
certifNum
,
Workbook
srvOrganExport
(
Long
organId
,
Boolean
isInvolveChild
,
String
empName
,
String
srvOrganName
,
String
certifNum
,
Short
isLock
,
Short
empType
);
Short
isLock
,
Short
empType
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Long
empId
);
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
);
int
chSrvTaskDetailDelete
(
long
taskDetailId
,
String
userName
);
int
chSrvTaskDetailDelete
(
long
taskDetailId
,
String
userName
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
bc0d9467
...
@@ -164,8 +164,8 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -164,8 +164,8 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
}
}
@Override
@Override
public
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Long
empId
)
{
public
List
<
ChSrvTaskDetailVo
>
chSrvTaskDetailQuery
(
Page
<
ChSrvTaskDetailVo
>
page
,
Long
empId
)
{
return
chSrvTaskDetailMapper
.
chSrvTaskDetailQuery
(
empId
);
return
chSrvTaskDetailMapper
.
chSrvTaskDetailQuery
(
page
,
empId
);
}
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/ChSrvTaskDetailVo.java
View file @
bc0d9467
...
@@ -9,7 +9,7 @@ public class ChSrvTaskDetailVo {
...
@@ -9,7 +9,7 @@ public class ChSrvTaskDetailVo {
private
Long
taskDetailId
;
private
Long
taskDetailId
;
private
String
n
ame
;
private
String
empN
ame
;
private
Integer
orgamId
;
private
Integer
orgamId
;
...
...
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