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
594ae640
Commit
594ae640
authored
May 06, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询护理机构人员列表
parent
f01cbe9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
SrvTaskController.java
...hungraim/ltc/governance/controller/SrvTaskController.java
+10
-0
SrvTaskService.java
...a/com/hungraim/ltc/governance/service/SrvTaskService.java
+4
-0
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+9
-0
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvTaskController.java
View file @
594ae640
package
com
.
hungraim
.
ltc
.
governance
.
controller
;
import
com.hungraim.ltc.governance.service.SrvTaskService
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChOrganEmp
;
import
com.hungraim.ltc.pojo.vo.governance.SrvTaskInfoVO
;
import
com.hungraim.ltc.pojo.vo.governance.SrvTaskVO
;
import
com.hungraim.ltc.util.DateUtils
;
...
...
@@ -27,6 +28,15 @@ public class SrvTaskController {
private
SrvTaskService
srvTaskService
;
/**
* 查询护理机构人员列表
*/
@RequestMapping
(
"/getSrvOrganEmpList"
)
public
Result
<
List
<
ChOrganEmp
>>
getSrvOrganEmpList
()
{
List
<
ChOrganEmp
>
organEmps
=
srvTaskService
.
getSrvOrganEmpList
();
return
Result
.
success
(
organEmps
);
}
/**
* 服务计划、服务计划配置列表
*
* @param organId 护理机构id
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/SrvTaskService.java
View file @
594ae640
package
com
.
hungraim
.
ltc
.
governance
.
service
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChOrganEmp
;
import
com.hungraim.ltc.pojo.vo.governance.SrvTaskInfoVO
;
import
com.hungraim.ltc.pojo.vo.governance.SrvTaskVO
;
import
org.springframework.stereotype.Service
;
...
...
@@ -23,4 +24,7 @@ public interface SrvTaskService {
void
addSrvTask
(
Long
programId
,
Long
srvEmpId
,
Date
startTime
,
Date
endTime
);
void
updateSrvTask
(
String
taskId
,
Long
srvEmpId
,
Date
startTime
,
Date
endTime
);
List
<
ChOrganEmp
>
getSrvOrganEmpList
();
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
594ae640
package
com
.
hungraim
.
ltc
.
governance
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.hungraim.ltc.governance.dao.ChOrganEmpMapper
;
import
com.hungraim.ltc.governance.dao.ChSrvTaskDetailMapper
;
import
com.hungraim.ltc.governance.dao.SrvTaskMapper
;
import
com.hungraim.ltc.governance.service.SrvTaskService
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChOrganEmp
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTask
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail
;
import
com.hungraim.ltc.pojo.vo.governance.SrvTaskInfoVO
;
...
...
@@ -24,6 +26,8 @@ public class SrvTaskServiceImpl implements SrvTaskService {
private
SrvTaskMapper
srvTaskMapper
;
@Autowired
private
ChSrvTaskDetailMapper
chSrvTaskDetailMapper
;
@Autowired
private
ChOrganEmpMapper
chOrganEmpMapper
;
/**
* 服务计划列表
...
...
@@ -106,4 +110,9 @@ public class SrvTaskServiceImpl implements SrvTaskService {
throw
new
RuntimeException
(
"修改服务计划详情计划起止日期失败!"
);
}
}
@Override
public
List
<
ChOrganEmp
>
getSrvOrganEmpList
()
{
return
chOrganEmpMapper
.
selectList
(
new
QueryWrapper
<>());
}
}
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