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
adebbd7c
Commit
adebbd7c
authored
Feb 07, 2023
by
董天德
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_20230205_xhd'
parents
a0a42987
8afa06e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+4
-1
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+3
-3
ChAprReport.java
.../com/hungraim/ltc/pojo/entity/assessment/ChAprReport.java
+1
-0
TaskReportVO.java
...ava/com/hungraim/ltc/pojo/vo/assessment/TaskReportVO.java
+2
-0
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+2
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
adebbd7c
...
@@ -159,7 +159,10 @@ public class TaskController {
...
@@ -159,7 +159,10 @@ public class TaskController {
List
<
ChAprReportFraction
>
chTaskReportFractionDtls
=
reportDetailVo
.
getChAprReportFractions
();
List
<
ChAprReportFraction
>
chTaskReportFractionDtls
=
reportDetailVo
.
getChAprReportFractions
();
if
(
person1
==
null
)
{
if
(
person1
==
null
)
{
return
Result
.
failed
(
"鉴定人员1不能为空!"
);
return
Result
.
failed
(
"评估专家不能为空!"
);
}
if
(
person2
==
null
)
{
return
Result
.
failed
(
"评估员不能为空!"
);
}
}
if
(
taskId
==
null
)
{
if
(
taskId
==
null
)
{
return
Result
.
failed
(
"评定任务id不能为空!"
);
return
Result
.
failed
(
"评定任务id不能为空!"
);
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
adebbd7c
...
@@ -163,7 +163,7 @@ public class TaskServiceImpl implements TaskService {
...
@@ -163,7 +163,7 @@ public class TaskServiceImpl implements TaskService {
if
(
fileDataList
!=
null
&&
fileDataList
.
size
()
>
0
)
{
if
(
fileDataList
!=
null
&&
fileDataList
.
size
()
>
0
)
{
updateAttachs
(
fileDataList
,
report
.
getReportId
().
longValue
());
updateAttachs
(
fileDataList
,
report
.
getReportId
().
longValue
());
}
}
//插入评定任务关联人员1.2
.3(至少一位,最多三
位)
//插入评定任务关联人员1.2
(两
位)
//person1
//person1
ChAprPersonInfo
person1Info
=
new
ChAprPersonInfo
();
ChAprPersonInfo
person1Info
=
new
ChAprPersonInfo
();
person1Info
.
setReportId
(
report
.
getReportId
());
person1Info
.
setReportId
(
report
.
getReportId
());
...
@@ -177,13 +177,13 @@ public class TaskServiceImpl implements TaskService {
...
@@ -177,13 +177,13 @@ public class TaskServiceImpl implements TaskService {
personInfo
.
setFcd
(
new
Date
());
personInfo
.
setFcd
(
new
Date
());
personInfoMapper
.
insert
(
personInfo
);
personInfoMapper
.
insert
(
personInfo
);
}
}
if
(
person3
!=
null
)
{
/*
if (person3 != null) {
ChAprPersonInfo personInfo = new ChAprPersonInfo();
ChAprPersonInfo personInfo = new ChAprPersonInfo();
personInfo.setReportId(report.getReportId());
personInfo.setReportId(report.getReportId());
personInfo.setEmpId(person1);
personInfo.setEmpId(person1);
personInfo.setFcd(new Date());
personInfo.setFcd(new Date());
personInfoMapper.insert(personInfo);
personInfoMapper.insert(personInfo);
}
}
*/
if
(!
chAprReportFractions
.
isEmpty
()
&&
chAprReportFractions
.
size
()>
0
){
if
(!
chAprReportFractions
.
isEmpty
()
&&
chAprReportFractions
.
size
()>
0
){
for
(
ChAprReportFraction
chAprReportFraction:
chAprReportFractions
)
{
for
(
ChAprReportFraction
chAprReportFraction:
chAprReportFractions
)
{
chAprReportFraction
.
setReportId
(
report
.
getReportId
());
chAprReportFraction
.
setReportId
(
report
.
getReportId
());
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/assessment/ChAprReport.java
View file @
adebbd7c
...
@@ -14,6 +14,7 @@ public class ChAprReport {
...
@@ -14,6 +14,7 @@ public class ChAprReport {
private
Integer
reportId
;
private
Integer
reportId
;
private
Integer
checkName
;
private
Integer
checkName
;
private
Integer
evaluateRatingType
;
private
Integer
evaluateRatingType
;
private
Integer
evaluateType
;
private
Integer
status
;
private
Integer
status
;
private
java
.
util
.
Date
endTime
;
private
java
.
util
.
Date
endTime
;
private
String
polNo
;
private
String
polNo
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskReportVO.java
View file @
adebbd7c
...
@@ -70,6 +70,8 @@ public class TaskReportVO {
...
@@ -70,6 +70,8 @@ public class TaskReportVO {
private
String
acptSrvAddress
;
private
String
acptSrvAddress
;
//评定结果
//评定结果
private
String
riskLevel
;
private
String
riskLevel
;
//评估类型
private
Integer
evaluateType
;
private
Map
<
String
,
Object
>
chAprReportFractions
;
private
Map
<
String
,
Object
>
chAprReportFractions
;
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
adebbd7c
...
@@ -92,6 +92,8 @@
...
@@ -92,6 +92,8 @@
disable.ACPT_SRV_ADDRESS acptSrvAddress,
disable.ACPT_SRV_ADDRESS acptSrvAddress,
--评定等级
--评定等级
report.evaluate_rating_type evaluateRatingType,
report.evaluate_rating_type evaluateRatingType,
--评定类型
report.EVALUATE_TYPE evaluateType,
--评定完成日期
--评定完成日期
aprtask.finish_time finishTime,
aprtask.finish_time finishTime,
--服务方式
--服务方式
...
...
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