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
5e4bdc6a
Commit
5e4bdc6a
authored
Apr 23, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改报告鉴定人员
parent
49519db8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+3
-3
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+10
-5
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
5e4bdc6a
...
@@ -110,7 +110,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -110,7 +110,7 @@ public class TaskServiceImpl implements TaskService {
chAprReport
.
setEvaluateTime
(
evaluateDate
);
chAprReport
.
setEvaluateTime
(
evaluateDate
);
aprReportMapper
.
updateById
(
chAprReport
);
aprReportMapper
.
updateById
(
chAprReport
);
//修改鉴定报告人员(有就update,没有就insert)
//修改鉴定报告人员(有就update,没有就insert)
List
<
ChAprPersonInfo
>
personInfos
=
personInfoMapper
.
selectList
(
new
QueryWrapper
<
ChAprPersonInfo
>().
eq
(
"report_id"
,
reportId
));
List
<
ChAprPersonInfo
>
personInfos
=
personInfoMapper
.
selectList
(
new
QueryWrapper
<
ChAprPersonInfo
>().
eq
(
"report_id"
,
reportId
)
.
orderByDesc
(
"info_id"
)
);
if
(
person1
!=
null
)
{
if
(
person1
!=
null
)
{
if
(
personInfos
.
size
()
>=
1
)
{
if
(
personInfos
.
size
()
>=
1
)
{
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
...
@@ -126,7 +126,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -126,7 +126,7 @@ public class TaskServiceImpl implements TaskService {
}
}
if
(
person2
!=
null
)
{
if
(
person2
!=
null
)
{
if
(
personInfos
.
size
()
>=
2
)
{
if
(
personInfos
.
size
()
>=
2
)
{
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
1
);
personInfo
.
setEmpId
(
person2
);
personInfo
.
setEmpId
(
person2
);
personInfoMapper
.
updateById
(
personInfo
);
personInfoMapper
.
updateById
(
personInfo
);
}
else
{
}
else
{
...
@@ -139,7 +139,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -139,7 +139,7 @@ public class TaskServiceImpl implements TaskService {
}
}
if
(
person3
!=
null
)
{
if
(
person3
!=
null
)
{
if
(
personInfos
.
size
()
>=
3
)
{
if
(
personInfos
.
size
()
>=
3
)
{
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
0
);
ChAprPersonInfo
personInfo
=
personInfos
.
get
(
2
);
personInfo
.
setEmpId
(
person3
);
personInfo
.
setEmpId
(
person3
);
personInfoMapper
.
updateById
(
personInfo
);
personInfoMapper
.
updateById
(
personInfo
);
}
else
{
}
else
{
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
5e4bdc6a
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
disable.real_name realName,
disable.real_name realName,
task.fcd fcd,
task.fcd fcd,
disable.certi_code certiCode,
disable.certi_code certiCode,
task
.pol_no polNo,
report
.pol_no polNo,
task
.remark remark,
report
.remark remark,
disable.BIRTHDAY birthday,
disable.BIRTHDAY birthday,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
left join ch_apr_emp emp on task.apr_emp_id = emp.emp_id and emp.IS_LOCK = 0
left join ch_apr_emp emp on task.apr_emp_id = emp.emp_id and emp.IS_LOCK = 0
left join ch_apr_task_push push on task.task_id = push.task_id
left join ch_apr_task_push push on task.task_id = push.task_id
left join ch_apr_task_emp cate on task.task_id = cate.task_id
left join ch_apr_task_emp cate on task.task_id = cate.task_id
left join ch_apr_report report on report.TASK_ID = task.TASK_ID
<where>
<where>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
and task.apr_organ_id in
and task.apr_organ_id in
...
@@ -110,8 +111,8 @@
...
@@ -110,8 +111,8 @@
report.disable_level_id disableLevelId,
report.disable_level_id disableLevelId,
info.REAL_NAME realName,
info.REAL_NAME realName,
info.CERTI_CODE certiCode,
info.CERTI_CODE certiCode,
task
.pol_no polNo,
report
.pol_no polNo,
task
.remark remark,
report
.remark remark,
info.birthday birthday,
info.birthday birthday,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
...
@@ -233,11 +234,13 @@
...
@@ -233,11 +234,13 @@
push.Planned_departure_time plannedDepartureTime,
push.Planned_departure_time plannedDepartureTime,
push.Distance_station_kilometers distanceStationKilometers,
push.Distance_station_kilometers distanceStationKilometers,
push.Distance_station_travel_time distanceStationTravelTime,
push.Distance_station_travel_time distanceStationTravelTime,
push.Total_distance totalDistance
push.Total_distance totalDistance,
push.Length_of_time lengthOfTime
from ch_apr_task_push push
from ch_apr_task_push push
left join ch_apr_task task on push.task_id = task.task_id
left join ch_apr_task task on push.task_id = task.task_id
left join CH_FND_ORGAN organ on organ.organ_id = task.organ_id
left join CH_FND_ORGAN organ on organ.organ_id = task.organ_id
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
left join ch_apr_emp emp on emp.emp_id = push.emp_id
where push.group_number = #{groupNumber}
where push.group_number = #{groupNumber}
</select>
</select>
...
@@ -249,6 +252,7 @@
...
@@ -249,6 +252,7 @@
LEFT JOIN ch_apr_emp emp ON info.emp_id = emp.emp_id
LEFT JOIN ch_apr_emp emp ON info.emp_id = emp.emp_id
LEFT JOIN ch_apr_organ organ ON organ.apr_organ_id = emp.apr_organ_id
LEFT JOIN ch_apr_organ organ ON organ.apr_organ_id = emp.apr_organ_id
where info.report_id = #{reportId}
where info.report_id = #{reportId}
order by info.info_id desc
</select>
</select>
</mapper>
</mapper>
\ 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