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
17d2d250
Commit
17d2d250
authored
Apr 19, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评定报告新增
parent
dad0ecce
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
88 additions
and
0 deletions
+88
-0
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+13
-0
AprReportMapper.java
...e/src/main/java/com/hungraim/ltc/dao/AprReportMapper.java
+16
-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
+10
-0
ChAprReport.java
...n/java/com/hungraim/ltc/pojo/entity/eval/ChAprReport.java
+46
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
17d2d250
...
@@ -2,15 +2,18 @@ package com.hungraim.ltc.controller;
...
@@ -2,15 +2,18 @@ package com.hungraim.ltc.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -73,4 +76,14 @@ public class TaskController {
...
@@ -73,4 +76,14 @@ public class TaskController {
return
Result
.
success
(
chAprEmps
);
return
Result
.
success
(
chAprEmps
);
}
}
/**
* 评定报告新增
*/
@RequestMapping
(
"/addReport"
)
public
Result
addReport
(
@RequestBody
ChAprReport
chAprReport
)
{
chAprReport
.
setEffTime
(
new
Date
());
taskService
.
addReport
(
chAprReport
);
return
Result
.
success
();
}
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/AprReportMapper.java
0 → 100644
View file @
17d2d250
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能评定报告Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
AprReportMapper
extends
BaseMapper
<
ChAprReport
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/TaskService.java
View file @
17d2d250
...
@@ -2,6 +2,7 @@ package com.hungraim.ltc.service;
...
@@ -2,6 +2,7 @@ package com.hungraim.ltc.service;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -45,4 +46,6 @@ public interface TaskService {
...
@@ -45,4 +46,6 @@ public interface TaskService {
List
<
TaskReportVO
>
taskReportList
();
List
<
TaskReportVO
>
taskReportList
();
List
<
ChAprEmp
>
aprEmpList
();
List
<
ChAprEmp
>
aprEmpList
();
void
addReport
(
ChAprReport
chAprReport
);
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
17d2d250
...
@@ -5,8 +5,10 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
...
@@ -5,8 +5,10 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
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.hungraim.ltc.dao.AprEmpMapper
;
import
com.hungraim.ltc.dao.AprEmpMapper
;
import
com.hungraim.ltc.dao.AprReportMapper
;
import
com.hungraim.ltc.dao.TaskMapper
;
import
com.hungraim.ltc.dao.TaskMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.service.TaskService
;
...
@@ -26,6 +28,8 @@ public class TaskServiceImpl implements TaskService {
...
@@ -26,6 +28,8 @@ public class TaskServiceImpl implements TaskService {
private
TaskMapper
taskMapper
;
private
TaskMapper
taskMapper
;
@Autowired
@Autowired
private
AprEmpMapper
aprEmpMapper
;
private
AprEmpMapper
aprEmpMapper
;
@Autowired
private
AprReportMapper
aprReportMapper
;
@Override
@Override
public
IPage
<
TaskDistributionVO
>
taskDistributionList
(
String
organId
,
String
provincial
,
String
city
,
public
IPage
<
TaskDistributionVO
>
taskDistributionList
(
String
organId
,
String
provincial
,
String
city
,
...
@@ -49,4 +53,9 @@ public class TaskServiceImpl implements TaskService {
...
@@ -49,4 +53,9 @@ public class TaskServiceImpl implements TaskService {
public
List
<
ChAprEmp
>
aprEmpList
()
{
public
List
<
ChAprEmp
>
aprEmpList
()
{
return
aprEmpMapper
.
selectList
(
new
QueryWrapper
<
ChAprEmp
>().
eq
(
"IS_LOCK"
,
0
));
return
aprEmpMapper
.
selectList
(
new
QueryWrapper
<
ChAprEmp
>().
eq
(
"IS_LOCK"
,
0
));
}
}
@Override
public
void
addReport
(
ChAprReport
chAprReport
)
{
aprReportMapper
.
insert
(
chAprReport
);
}
}
}
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/eval/ChAprReport.java
0 → 100644
View file @
17d2d250
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
eval
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.KeySequence
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
@Data
@TableName
(
"CH_APR_REPORT"
)
@KeySequence
(
value
=
"SEQ_CH_APR_REPORT"
)
public
class
ChAprReport
{
@TableId
(
value
=
"REPORT_ID"
,
type
=
IdType
.
INPUT
)
private
Integer
reportId
;
private
Integer
checkName
;
private
Integer
evaluateRatingType
;
private
Integer
status
;
private
java
.
util
.
Date
endTime
;
private
String
polNo
;
private
Integer
disableLevelId
;
private
String
evaluationRemark
;
private
Integer
defineEmp
;
private
Integer
cfgModeId
;
private
java
.
util
.
Date
evaluateTime
;
private
String
remark
;
private
java
.
util
.
Date
publicityStartTime
;
private
java
.
util
.
Date
evaluationTime
;
private
java
.
util
.
Date
publicityEndTime
;
private
java
.
util
.
Date
fcd
;
private
Integer
srvModeId
;
private
java
.
util
.
Date
lcd
;
private
Integer
simpleIntelligentScore
;
private
Integer
treatmentType
;
private
String
srvModeName
;
private
Integer
endEmp
;
private
String
publicityRemark
;
private
Integer
fcu
;
private
Integer
cfgAprId
;
private
String
evaluateRating
;
private
Integer
evaluationEmp
;
private
java
.
util
.
Date
effTime
;
private
Integer
aprTotalScore
;
private
String
checkRemark
;
private
Integer
taskId
;
private
Integer
lcu
;
}
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