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
ec84f5c5
Commit
ec84f5c5
authored
Apr 23, 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
77da5d11
85f8712c
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
73 additions
and
25 deletions
+73
-25
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+3
-3
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+18
-6
PersonInfoVO.java
...ava/com/hungraim/ltc/pojo/vo/assessment/PersonInfoVO.java
+4
-0
TaskDistributionVO.java
...m/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
+5
-5
TaskGroupInfoVO.java
.../com/hungraim/ltc/pojo/vo/assessment/TaskGroupInfoVO.java
+38
-6
TaskGroupVO.java
...java/com/hungraim/ltc/pojo/vo/assessment/TaskGroupVO.java
+1
-1
TaskReportVO.java
...ava/com/hungraim/ltc/pojo/vo/assessment/TaskReportVO.java
+3
-3
DisableVO.java
...main/java/com/hungraim/ltc/pojo/vo/disable/DisableVO.java
+1
-1
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
ec84f5c5
...
@@ -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 @
ec84f5c5
...
@@ -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,22 +234,32 @@
...
@@ -233,22 +234,32 @@
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,
emp.real_name empRealName,
emp.certi_code empCertiCode,
push.status status,
push.Refuse_reason refuseReason,/*拒绝原因*/
push.Refuse_remark remark/*备注*/
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>
<select
id=
"personInfoList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.PersonInfoVO"
>
<select
id=
"personInfoList"
resultType=
"com.hungraim.ltc.pojo.vo.assessment.PersonInfoVO"
>
SELECT emp.emp_id empId,
SELECT emp.emp_id empId,
organ.organ_name orgaName,
organ.organ_name orgaName,
emp.real_name realName
emp.real_name realName,
emp.tel tel,
emp.certi_code certiCode
FROM ch_apr_person_info info
FROM ch_apr_person_info info
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
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/PersonInfoVO.java
View file @
ec84f5c5
...
@@ -13,4 +13,8 @@ public class PersonInfoVO {
...
@@ -13,4 +13,8 @@ public class PersonInfoVO {
private
String
realName
;
private
String
realName
;
//评定人员所属机构
//评定人员所属机构
private
String
orgaName
;
private
String
orgaName
;
//评定人员手机号
private
String
tel
;
//评定人员身份证号
private
String
certiCode
;
}
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
View file @
ec84f5c5
...
@@ -22,7 +22,7 @@ public class TaskDistributionVO {
...
@@ -22,7 +22,7 @@ public class TaskDistributionVO {
//失能人员姓名
//失能人员姓名
private
String
realName
;
private
String
realName
;
//申请日期
//申请日期
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
fcd
;
private
Date
fcd
;
//失能人员身份证号码
//失能人员身份证号码
private
String
certiCode
;
private
String
certiCode
;
...
@@ -31,7 +31,7 @@ public class TaskDistributionVO {
...
@@ -31,7 +31,7 @@ public class TaskDistributionVO {
//备注
//备注
private
String
remark
;
private
String
remark
;
//年龄
//年龄
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
//出生年月
private
Date
birthday
;
//出生年月
//诊断疾病
//诊断疾病
private
String
diseTypeF
;
//大类
private
String
diseTypeF
;
//大类
...
@@ -72,13 +72,13 @@ public class TaskDistributionVO {
...
@@ -72,13 +72,13 @@ public class TaskDistributionVO {
//评定人员所属机构名称
//评定人员所属机构名称
private
String
empOrganName
;
private
String
empOrganName
;
//任务分配时间
//任务分配时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
assignTime
;
private
Date
assignTime
;
//任务接受时间
//任务接受时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
acceptTime
;
private
Date
acceptTime
;
//任务完成时间
//任务完成时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
finishTime
;
private
Date
finishTime
;
//任务状态
//任务状态
private
Integer
taskStatus
;
private
Integer
taskStatus
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskGroupInfoVO.java
View file @
ec84f5c5
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
assessment
;
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
assessment
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
/**
/**
* 评定任务分组管理列表详情
* 评定任务分组管理列表详情
*/
*/
...
@@ -14,7 +17,8 @@ public class TaskGroupInfoVO {
...
@@ -14,7 +17,8 @@ public class TaskGroupInfoVO {
/**
/**
* 分组日期
* 分组日期
*/
*/
private
String
time
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
time
;
/**
/**
* 组号
* 组号
*/
*/
...
@@ -42,9 +46,10 @@ public class TaskGroupInfoVO {
...
@@ -42,9 +46,10 @@ public class TaskGroupInfoVO {
*/
*/
private
String
gender
;
private
String
gender
;
/**
/**
* 失能人员年龄
* 失能人员
(出生日期)
年龄
*/
*/
private
String
birthday
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
/**
/**
* 失能人员身份证号码
* 失能人员身份证号码
*/
*/
...
@@ -52,11 +57,13 @@ public class TaskGroupInfoVO {
...
@@ -52,11 +57,13 @@ public class TaskGroupInfoVO {
/**
/**
* 计划到达时间
* 计划到达时间
*/
*/
private
String
plannedArrivalTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
plannedArrivalTime
;
/**
/**
* 计划离开时间
* 计划离开时间
*/
*/
private
String
plannedDepartureTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
plannedDepartureTime
;
/**
/**
* 距离前站(公里数)
* 距离前站(公里数)
*/
*/
...
@@ -64,9 +71,34 @@ public class TaskGroupInfoVO {
...
@@ -64,9 +71,34 @@ public class TaskGroupInfoVO {
/**
/**
* 距离前站行驶时间
* 距离前站行驶时间
*/
*/
private
String
distanceStationTravelTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
distanceStationTravelTime
;
/**
/**
* 车次总距离
* 车次总距离
*/
*/
private
String
totalDistance
;
private
String
totalDistance
;
/**
* 总时长
*/
private
String
lengthOfTime
;
/**
* 评定组长姓名
*/
private
String
empRealName
;
/**
* 评定组长身份证号码
*/
private
String
empCertiCode
;
/**
* 状态
*/
private
String
status
;
/**
* 拒绝原因
*/
private
String
refuseReason
;
/**
* 备注
*/
private
String
remark
;
}
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskGroupVO.java
View file @
ec84f5c5
...
@@ -13,7 +13,7 @@ public class TaskGroupVO {
...
@@ -13,7 +13,7 @@ public class TaskGroupVO {
//任务推送id
//任务推送id
private
Integer
taskPushId
;
private
Integer
taskPushId
;
//任务分配日期
//任务分配日期
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
assignTime
;
private
Date
assignTime
;
//机构代码
//机构代码
private
Integer
aprOrganId
;
private
Integer
aprOrganId
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskReportVO.java
View file @
ec84f5c5
...
@@ -31,10 +31,10 @@ public class TaskReportVO {
...
@@ -31,10 +31,10 @@ public class TaskReportVO {
//备注
//备注
private
String
remark
;
private
String
remark
;
//评估时间
//评估时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
evaluateTime
;
private
Date
evaluateTime
;
//出生年月
//出生年月
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
private
Date
birthday
;
//诊断疾病
//诊断疾病
private
String
diseTypeF
;
private
String
diseTypeF
;
...
@@ -64,6 +64,6 @@ public class TaskReportVO {
...
@@ -64,6 +64,6 @@ public class TaskReportVO {
//评定结果
//评定结果
private
String
riskLevel
;
private
String
riskLevel
;
//录入时间
//录入时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
effTime
;
private
Date
effTime
;
}
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableVO.java
View file @
ec84f5c5
...
@@ -32,7 +32,7 @@ public class DisableVO implements Serializable {
...
@@ -32,7 +32,7 @@ public class DisableVO implements Serializable {
//联系人姓名
//联系人姓名
private
String
opername
;
private
String
opername
;
//年龄
//年龄
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
private
Date
birthday
;
//性别
//性别
private
String
gender
;
private
String
gender
;
...
...
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