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
f3779264
Commit
f3779264
authored
Apr 21, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询失能等级列表
parent
b4a727fc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
0 deletions
+36
-0
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+10
-0
CfgSrvDisableLevelMapper.java
...n/java/com/hungraim/ltc/dao/CfgSrvDisableLevelMapper.java
+14
-0
TaskService.java
...e/src/main/java/com/hungraim/ltc/service/TaskService.java
+3
-0
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+9
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
f3779264
package
com
.
hungraim
.
ltc
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskGroupVO
;
...
...
@@ -89,6 +90,15 @@ public class TaskController {
}
/**
* 查询失能等级列表
*/
@RequestMapping
(
"/cfgSrvDisableLevelList"
)
public
Result
<
List
<
ChCfgSrvDisableLevel
>>
cfgSrvDisableLevelList
()
{
List
<
ChCfgSrvDisableLevel
>
list
=
taskService
.
cfgSrvDisableLevelList
();
return
Result
.
success
(
list
);
}
/**
* 评定报告新增
*
* @param taskId 评定报告id
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/CfgSrvDisableLevelMapper.java
0 → 100644
View file @
f3779264
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* @author czz
*/
@Mapper
@Repository
public
interface
CfgSrvDisableLevelMapper
extends
BaseMapper
<
ChCfgSrvDisableLevel
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/TaskService.java
View file @
f3779264
package
com
.
hungraim
.
ltc
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskGroupVO
;
...
...
@@ -61,4 +62,6 @@ public interface TaskService {
List
<
TaskGroupVO
>
taskGroupList
(
String
name
,
String
certiCode
,
String
tel
);
Result
<
Object
>
taskGroup
(
Integer
pushId
,
Integer
status
);
List
<
ChCfgSrvDisableLevel
>
cfgSrvDisableLevelList
();
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
f3779264
...
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.dao.*
;
import
com.hungraim.ltc.pojo.entity.disable.ChCfgSrvDisableLevel
;
import
com.hungraim.ltc.pojo.entity.eval.*
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskGroupVO
;
...
...
@@ -36,6 +37,8 @@ public class TaskServiceImpl implements TaskService {
private
AprPeronInfoMapper
peronInfoMapper
;
@Autowired
private
TaskPushMapper
taskPushMapper
;
@Autowired
private
CfgSrvDisableLevelMapper
cfgSrvDisableLevelMapper
;
@Override
public
IPage
<
TaskDistributionVO
>
taskDistributionList
(
String
organId
,
String
provincial
,
String
city
,
...
...
@@ -186,4 +189,9 @@ public class TaskServiceImpl implements TaskService {
taskPushMapper
.
updateById
(
chAprTaskPush
);
return
Result
.
success
();
}
@Override
public
List
<
ChCfgSrvDisableLevel
>
cfgSrvDisableLevelList
()
{
return
cfgSrvDisableLevelMapper
.
selectList
(
new
QueryWrapper
<>());
}
}
\ No newline at end of file
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