Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b491f47e
authored
Oct 31, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://gitlab.dituhui.com/bsh/project/project
into develop-16542
2 parents
a75f8723
0e671a45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
View file @
b491f47
...
@@ -454,7 +454,7 @@ public class ScheduleServiceImpl implements ScheduleService {
...
@@ -454,7 +454,7 @@ public class ScheduleServiceImpl implements ScheduleService {
HashMap
<
String
,
List
<
String
>>
p2
=
this
.
packParams
(
"appointmentType"
,
"MANUAL"
);
HashMap
<
String
,
List
<
String
>>
p2
=
this
.
packParams
(
"appointmentType"
,
"MANUAL"
);
items
.
add
(
new
ScheduleSummaryResp
.
ValueDTO
(
"人工指派"
,
map
.
getOrDefault
(
"manualTotal"
,
0
),
null
,
urlName
,
p2
));
items
.
add
(
new
ScheduleSummaryResp
.
ValueDTO
(
"人工指派"
,
map
.
getOrDefault
(
"manualTotal"
,
0
),
null
,
urlName
,
p2
));
HashMap
<
String
,
List
<
String
>>
p3
=
this
.
packParams
(
"appointmentStatus"
,
"
NOT_ASSIGNED
"
);
HashMap
<
String
,
List
<
String
>>
p3
=
this
.
packParams
(
"appointmentStatus"
,
"
INIT
"
);
items
.
add
(
new
ScheduleSummaryResp
.
ValueDTO
(
"未指派"
,
map
.
getOrDefault
(
"notAssignTotal"
,
0
),
null
,
urlName
,
p3
));
items
.
add
(
new
ScheduleSummaryResp
.
ValueDTO
(
"未指派"
,
map
.
getOrDefault
(
"notAssignTotal"
,
0
),
null
,
urlName
,
p3
));
return
items
;
return
items
;
}
}
...
...
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
View file @
b491f47
...
@@ -177,8 +177,8 @@ public class UserService {
...
@@ -177,8 +177,8 @@ public class UserService {
}
}
resourceInfo
.
setChildren
(
levelTowConvert
);
resourceInfo
.
setChildren
(
levelTowConvert
);
}
}
levelOne
=
levelOne
.
stream
().
sorted
(
Comparator
.
comparing
(
ResourceInfo:
:
getOrder
))
//
levelOne = levelOne.stream().sorted(Comparator.comparing(ResourceInfo::getOrder))
.
collect
(
Collectors
.
toList
());
//
.collect(Collectors.toList());
userDTO
.
setMenus
(
levelOne
);
userDTO
.
setMenus
(
levelOne
);
//用户组织机构从关联表获取
//用户组织机构从关联表获取
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment