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
ce2fe368
Commit
ce2fe368
authored
Sep 01, 2021
by
wzs162
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复评申请-历史任务评定信息列表
parent
aa2209e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
ReTaskController.java
...in/java/com/hungraim/ltc/controller/ReTaskController.java
+1
-1
ReTaskServiceImpl.java
...java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
+18
-1
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/ReTaskController.java
View file @
ce2fe368
...
...
@@ -63,7 +63,7 @@ public class ReTaskController {
/**
* 复评申请-历史评定信息
*/
@GetMapping
(
"/
retask-
hisinfo-list"
)
@GetMapping
(
"/hisinfo-list"
)
public
Result
<
List
<
ChAprTaskVo
>>
getRetaskHisList
(){
List
<
ChAprTaskVo
>
chAprTaskVos
=
reTaskService
.
geReTaskHisInfoList
();
return
Result
.
success
(
chAprTaskVos
);
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
View file @
ce2fe368
...
...
@@ -57,6 +57,22 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
@Override
public
List
<
ChAprTaskVo
>
geReTaskHisInfoList
()
{
// 历史评定信息列表
return
null
;
List
<
ChAprTaskVo
>
reTaskHisInfoList
=
reTaskMapper
.
getReTaskHisInfoList
();
if
(
reTaskHisInfoList
.
size
()!=
0
){
reTaskHisInfoList
.
stream
().
forEach
(
item
->
{
String
provincialCityArea
=
item
.
getProvincialCityArea
();
provincialCityArea
=
item
.
getDistrictProvincial
()+
item
.
getDistrictCity
()+
item
.
getDistrictArea
();
item
.
setProvincialCityArea
(
provincialCityArea
);
try
{
item
.
setAge
(
DateUtils
.
getAge
(
item
.
getBirthDay
()));
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
String
pcasd
=
item
.
getPcasd
();
pcasd
=
item
.
getAcptProvincial
()+
item
.
getAcptCity
()+
item
.
getAcptArea
()+
item
.
getAcptStreet
()+
item
.
getAcptAddress
();
item
.
setPcasd
(
pcasd
);
});
}
return
reTaskHisInfoList
;
}
}
\ 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