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
6fd7bcf9
Commit
6fd7bcf9
authored
Apr 19, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://129.211.99.254:8088/hg-hubin/long-tern-care-service
parents
84e6e4c6
21e1d1af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+9
-0
TaskService.java
...e/src/main/java/com/hungraim/ltc/service/TaskService.java
+2
-0
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+10
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
6fd7bcf9
...
...
@@ -86,4 +86,13 @@ public class TaskController {
return
Result
.
success
();
}
/**
* 评定报告修改
*/
@RequestMapping
(
"/updateReport"
)
public
Result
updateReport
(
String
reportId
,
Integer
disableLevelId
,
String
polNo
,
String
remark
)
{
taskService
.
updateReport
(
reportId
,
disableLevelId
,
polNo
,
remark
);
return
Result
.
success
();
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/TaskService.java
View file @
6fd7bcf9
...
...
@@ -48,4 +48,6 @@ public interface TaskService {
List
<
ChAprEmp
>
aprEmpList
();
void
addReport
(
ChAprReport
chAprReport
);
void
updateReport
(
String
reportId
,
Integer
disableLevelId
,
String
polNo
,
String
remark
);
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
6fd7bcf9
...
...
@@ -58,4 +58,13 @@ public class TaskServiceImpl implements TaskService {
public
void
addReport
(
ChAprReport
chAprReport
)
{
aprReportMapper
.
insert
(
chAprReport
);
}
@Override
public
void
updateReport
(
String
reportId
,
Integer
disableLevelId
,
String
polNo
,
String
remark
)
{
ChAprReport
chAprReport
=
aprReportMapper
.
selectById
(
reportId
);
chAprReport
.
setDisableLevelId
(
disableLevelId
);
chAprReport
.
setPolNo
(
polNo
);
chAprReport
.
setRemark
(
remark
);
aprReportMapper
.
updateById
(
chAprReport
);
}
}
\ 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