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
2e194f9d
Commit
2e194f9d
authored
Dec 08, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试bug修改
parent
08feb3a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
refined-manager/pom.xml
refined-manager/pom.xml
+4
-3
refined-manager/src/main/java/com/mortals/xhx/module/appointment/web/AppointmentConstraintController.java
...dule/appointment/web/AppointmentConstraintController.java
+8
-8
No files found.
refined-manager/pom.xml
View file @
2e194f9d
...
@@ -17,9 +17,7 @@
...
@@ -17,9 +17,7 @@
<profiles>
<profiles>
<profile>
<profile>
<id>
develop
</id>
<id>
develop
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<properties>
<profiles.active>
develop
</profiles.active>
<profiles.active>
develop
</profiles.active>
<profiles.platform.type>
standalone
</profiles.platform.type>
<profiles.platform.type>
standalone
</profiles.platform.type>
...
@@ -46,6 +44,9 @@
...
@@ -46,6 +44,9 @@
</profile>
</profile>
<profile>
<profile>
<id>
test
</id>
<id>
test
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<properties>
<properties>
<profiles.active>
test
</profiles.active>
<profiles.active>
test
</profiles.active>
<profiles.platform.type>
cloud
</profiles.platform.type>
<profiles.platform.type>
cloud
</profiles.platform.type>
...
...
refined-manager/src/main/java/com/mortals/xhx/module/appointment/web/AppointmentConstraintController.java
View file @
2e194f9d
...
@@ -69,14 +69,14 @@ public class AppointmentConstraintController extends BaseCRUDJsonBodyMappingCont
...
@@ -69,14 +69,14 @@ public class AppointmentConstraintController extends BaseCRUDJsonBodyMappingCont
this
.
addDict
(
model
,
"idCardType"
,
IdCardTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"idCardType"
,
IdCardTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"constraint"
,
paramService
.
getParamBySecondOrganize
(
"AppointmentConstraint"
,
"constraint"
));
this
.
addDict
(
model
,
"constraint"
,
paramService
.
getParamBySecondOrganize
(
"AppointmentConstraint"
,
"constraint"
));
//
Map<String, String> personCollect = personService.find(new PersonQuery()).stream()
Map
<
String
,
String
>
personCollect
=
personService
.
find
(
new
PersonQuery
()).
stream
()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getName(), (o, n) -> n));
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
));
//
this.addDict(model, "personId", personCollect);
this
.
addDict
(
model
,
"personId"
,
personCollect
);
//
//
Map<String, String> collect = userService.find(new UserQuery(), getContext()).stream()
Map
<
String
,
String
>
collect
=
userService
.
find
(
new
UserQuery
(),
getContext
()).
stream
()
//
.collect(Collectors.toMap(x -> x.getId().toString(), y -> y.getRealName(), (o, n) -> n));
.
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
));
//
this.addDict(model, "operator", collect);
this
.
addDict
(
model
,
"operator"
,
collect
);
//
this.addDict(model, "createUserId", collect);
this
.
addDict
(
model
,
"createUserId"
,
collect
);
super
.
init
(
model
,
context
);
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