Commit d16e8a8e authored by 王晓旭's avatar 王晓旭
parents 5e078e7e 23612d17
...@@ -41,8 +41,8 @@ instance.interceptors.request.use( ...@@ -41,8 +41,8 @@ instance.interceptors.request.use(
if (config.url.startsWith("/")) { if (config.url.startsWith("/")) {
// 字符串以 / 开头 // 字符串以 / 开头
config.url = `http://112.19.80.237:11080${baseURL}${config.url}`; //config.url = `http://112.19.80.237:11080${baseURL}${config.url}`;
// config.url = `http://${hostname}:${port}${baseURL}${config.url}`; config.url = `http://${hostname}:${port}${baseURL}${config.url}`;
} }
//config.url = `http://${hostname}:${port}${baseURL}/${config.url}`; //config.url = `http://${hostname}:${port}${baseURL}/${config.url}`;
......
...@@ -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>
......
...@@ -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);
} }
......
...@@ -58,14 +58,14 @@ public class CareConstraintController extends BaseCRUDJsonBodyMappingController< ...@@ -58,14 +58,14 @@ public class CareConstraintController extends BaseCRUDJsonBodyMappingController<
this.addDict(model, "track", paramService.getParamBySecondOrganize("CareConstraint","track")); this.addDict(model, "track", paramService.getParamBySecondOrganize("CareConstraint","track"));
this.addDict(model, "idCardType", IdCardTypeEnum.getEnumMap()); this.addDict(model, "idCardType", IdCardTypeEnum.getEnumMap());
// 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);
......
...@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe ...@@ -56,14 +56,14 @@ public class PersonController extends BaseCRUDJsonBodyMappingController<PersonSe
super.init(model, context); super.init(model, context);
} }
@Override // @Override
public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException { // public void doExportBefore(Context context, PersonEntity query, List<String> properties) throws AppException {
properties.add("性别"); // properties.add("性别");
// super.doExportBefore(context, query, properties); // // super.doExportBefore(context, query, properties);
} // }
//
@Override // @Override
public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException { // public void doImportExcelAfter(MultipartFile file, List<PersonEntity> list, Context context) throws AppException {
String filePath = uploadService.saveFileUpload(file, "file/fileupload",null); // String filePath = uploadService.saveFileUpload(file, "file/fileupload",null);
} // }
} }
\ No newline at end of file
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