Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
23612d17
Commit
23612d17
authored
Dec 08, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试bug修改
parent
2e194f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
refined-manager/src/main/java/com/mortals/xhx/module/care/web/CareConstraintController.java
...mortals/xhx/module/care/web/CareConstraintController.java
+8
-8
No files found.
refined-manager/src/main/java/com/mortals/xhx/module/care/web/CareConstraintController.java
View file @
23612d17
...
...
@@ -58,14 +58,14 @@ public class CareConstraintController extends BaseCRUDJsonBodyMappingController<
this
.
addDict
(
model
,
"track"
,
paramService
.
getParamBySecondOrganize
(
"CareConstraint"
,
"track"
));
this
.
addDict
(
model
,
"idCardType"
,
IdCardTypeEnum
.
getEnumMap
());
//
Map<String, String> personCollect = personService.find(new PersonQuery()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getName(), (o, n) -> n));
//
this.addDict(model, "personId", personCollect);
//
//
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
//
this.addDict(model, "operator", collect);
//
this.addDict(model, "createUserId", collect);
Map
<
String
,
String
>
personCollect
=
personService
.
find
(
new
PersonQuery
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"personId"
,
personCollect
);
Map
<
String
,
String
>
collect
=
userService
.
find
(
new
UserQuery
(),
getContext
()).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
));
this
.
addDict
(
model
,
"operator"
,
collect
);
this
.
addDict
(
model
,
"createUserId"
,
collect
);
super
.
init
(
model
,
context
);
...
...
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