Commit 2e194f9d authored by 廖旭伟's avatar 廖旭伟

测试bug修改

parent 08feb3a8
......@@ -17,9 +17,7 @@
<profiles>
<profile>
<id>develop</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profiles.active>develop</profiles.active>
<profiles.platform.type>standalone</profiles.platform.type>
......@@ -46,6 +44,9 @@
</profile>
<profile>
<id>test</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profiles.active>test</profiles.active>
<profiles.platform.type>cloud</profiles.platform.type>
......
......@@ -69,14 +69,14 @@ public class AppointmentConstraintController extends BaseCRUDJsonBodyMappingCont
this.addDict(model, "idCardType", IdCardTypeEnum.getEnumMap());
this.addDict(model, "constraint", paramService.getParamBySecondOrganize("AppointmentConstraint", "constraint"));
// 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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment