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
750669fe
Commit
750669fe
authored
Jan 11, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看详情
parent
266f7e88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+10
-4
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
750669fe
...
...
@@ -146,7 +146,7 @@ public class TaskServiceImpl implements TaskService {
}
//插入评定任报告
ChAprReport
report
=
new
ChAprReport
();
//
report.setTaskId(taskId);
report
.
setTaskId
(
taskId
);
report
.
setEffTime
(
new
Date
());
report
.
setRemark
(
remark
);
report
.
setDisableLevelId
(
disableLevelId
);
...
...
@@ -197,7 +197,7 @@ public class TaskServiceImpl implements TaskService {
@Override
public
TaskReportVO
getReportById
(
String
reportId
)
{
TaskReportVO
reportById
=
taskMapper
.
getReportById
(
reportId
);
List
<
ChAprReportFraction
>
chAprReportFractions
=
chAprReportFractionMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChAprReportFraction
>().
eq
(
ChAprReportFraction:
:
getReportId
,
125
));
List
<
ChAprReportFraction
>
chAprReportFractions
=
chAprReportFractionMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChAprReportFraction
>().
eq
(
ChAprReportFraction:
:
getReportId
,
reportId
));
if
(
chAprReportFractions
.
isEmpty
()||
chAprReportFractions
.
size
()==
0
){
return
reportById
;
}
...
...
@@ -289,8 +289,14 @@ public class TaskServiceImpl implements TaskService {
}
}
if
(!
chAprReportFractions
.
isEmpty
()
&&
chAprReportFractions
.
size
()>
0
){
chAprReportFractionService
.
updateChAprReportFraction
(
chAprReportFractions
);
for
(
ChAprReportFraction
chAprReportFraction:
chAprReportFractions
)
{
chAprReportFraction
.
setReportId
(
chAprReport
.
getReportId
());
if
(
chAprReportFraction
.
getChAprReportFractionId
()==
null
){
chAprReportFractionMapper
.
insert
(
chAprReportFraction
);
}
else
{
chAprReportFractionMapper
.
updateById
(
chAprReportFraction
);
}
}
}
...
...
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