服务管理-部分
This commit is contained in:
@@ -61,7 +61,7 @@ public class HealthcareServiceController {
|
|||||||
.map(status -> new HealthcareServiceInitDto.activeFlagOption(status.getValue(), status.getInfo()))
|
.map(status -> new HealthcareServiceInitDto.activeFlagOption(status.getValue(), status.getInfo()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
healthcareServiceInitDto.setActiveFlagOptions(activeFlagOptions);
|
healthcareServiceInitDto.setActiveFlagOptions(activeFlagOptions);
|
||||||
// 构建查询条件
|
/* // 构建查询条件
|
||||||
QueryWrapper<Location> queryWrapper = HisQueryUtils.buildQueryWrapper(null, searchKey,
|
QueryWrapper<Location> queryWrapper = HisQueryUtils.buildQueryWrapper(null, searchKey,
|
||||||
new HashSet<>(Arrays.asList("name")), null);
|
new HashSet<>(Arrays.asList("name")), null);
|
||||||
Page<Location> LocationPage = HisPageUtils.selectPage(
|
Page<Location> LocationPage = HisPageUtils.selectPage(
|
||||||
@@ -71,7 +71,7 @@ public class HealthcareServiceController {
|
|||||||
List<HealthcareServiceInitDto.locationIdOption> locationIdOptions = LocationList.stream()
|
List<HealthcareServiceInitDto.locationIdOption> locationIdOptions = LocationList.stream()
|
||||||
.map(location -> new HealthcareServiceInitDto.locationIdOption(location.getId(), location.getName()))
|
.map(location -> new HealthcareServiceInitDto.locationIdOption(location.getId(), location.getName()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
healthcareServiceInitDto.setLocationIdOptions(locationIdOptions);
|
healthcareServiceInitDto.setLocationIdOptions(locationIdOptions);*/
|
||||||
// 是否需要预约
|
// 是否需要预约
|
||||||
List<HealthcareServiceInitDto.appointmentRequiredFlagOption> appointmentRequiredFlagOptions = Stream.of(WhetherContainUnknown.values())
|
List<HealthcareServiceInitDto.appointmentRequiredFlagOption> appointmentRequiredFlagOptions = Stream.of(WhetherContainUnknown.values())
|
||||||
.map(wh -> new HealthcareServiceInitDto.appointmentRequiredFlagOption(wh.getValue(), wh.getInfo()))
|
.map(wh -> new HealthcareServiceInitDto.appointmentRequiredFlagOption(wh.getValue(), wh.getInfo()))
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ public class HealthcareServiceInitDto {
|
|||||||
|
|
||||||
|
|
||||||
private List<activeFlagOption> activeFlagOptions;
|
private List<activeFlagOption> activeFlagOptions;
|
||||||
private List<locationIdOption> locationIdOptions;
|
//private List<locationIdOption> locationIdOptions;
|
||||||
private List<appointmentRequiredFlagOption> appointmentRequiredFlagOptions;
|
private List<appointmentRequiredFlagOption> appointmentRequiredFlagOptions;
|
||||||
|
|
||||||
|
|
||||||
@@ -32,9 +32,9 @@ public class HealthcareServiceInitDto {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/* *//**
|
||||||
* 位置信息
|
* 位置信息
|
||||||
*/
|
*//*
|
||||||
@Data
|
@Data
|
||||||
public static class locationIdOption {
|
public static class locationIdOption {
|
||||||
private Long value;
|
private Long value;
|
||||||
@@ -44,7 +44,7 @@ public class HealthcareServiceInitDto {
|
|||||||
this.value = value;
|
this.value = value;
|
||||||
this.label = label;
|
this.label = label;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否需要预约
|
* 是否需要预约
|
||||||
|
|||||||
Reference in New Issue
Block a user