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
709c7a33
Commit
709c7a33
authored
Jan 13, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日常生活活动能力查询排序
parent
e5aa87a6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+5
-3
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
709c7a33
...
@@ -693,14 +693,16 @@ public class TaskServiceImpl implements TaskService {
...
@@ -693,14 +693,16 @@ public class TaskServiceImpl implements TaskService {
@Override
@Override
public
Map
taskReportFractionDtlQueryList
()
{
public
Map
taskReportFractionDtlQueryList
()
{
List
<
ChTaskReportFractionDtl
>
chTaskReportFractionDtls
=
chTaskReportFractionDtlMapper
.
selectList
(
null
);
LambdaQueryWrapper
<
ChTaskReportFractionDtl
>
lwq
=
new
LambdaQueryWrapper
<>();
lwq
.
orderBy
(
true
,
true
,
ChTaskReportFractionDtl:
:
getTaskReportNum
);
List
<
ChTaskReportFractionDtl
>
chTaskReportFractionDtls
=
chTaskReportFractionDtlMapper
.
selectList
(
lwq
);
Map
<
String
,
Object
>
typeHashMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
typeHashMap
=
new
Linked
HashMap
<>();
for
(
ChTaskReportFractionDtl
chTaskReportFractionDtl
:
chTaskReportFractionDtls
)
{
for
(
ChTaskReportFractionDtl
chTaskReportFractionDtl
:
chTaskReportFractionDtls
)
{
String
taskReportType
=
chTaskReportFractionDtl
.
getTaskReportType
();
String
taskReportType
=
chTaskReportFractionDtl
.
getTaskReportType
();
if
(!
typeHashMap
.
containsKey
(
taskReportType
)){
if
(!
typeHashMap
.
containsKey
(
taskReportType
)){
List
<
ChTaskReportFractionDtl
>
typeList
=
chTaskReportFractionDtls
.
stream
().
filter
(
c
->
c
.
getTaskReportType
().
equals
(
taskReportType
)).
collect
(
Collectors
.
toList
());
List
<
ChTaskReportFractionDtl
>
typeList
=
chTaskReportFractionDtls
.
stream
().
filter
(
c
->
c
.
getTaskReportType
().
equals
(
taskReportType
)).
collect
(
Collectors
.
toList
());
Map
<
String
,
Object
>
hashMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
hashMap
=
new
Linked
HashMap
<>();
for
(
ChTaskReportFractionDtl
chTaskReportFraction:
typeList
)
{
for
(
ChTaskReportFractionDtl
chTaskReportFraction:
typeList
)
{
String
taskReportProxy
=
chTaskReportFraction
.
getTaskReportProxy
();
String
taskReportProxy
=
chTaskReportFraction
.
getTaskReportProxy
();
if
(!
hashMap
.
containsKey
(
taskReportProxy
)){
if
(!
hashMap
.
containsKey
(
taskReportProxy
)){
...
...
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