|
@@ -143,7 +143,7 @@ public class AppointmentService {
|
|
|
return ResultVoUtil.success("夜间门诊科室缓存已重置。");
|
|
|
}
|
|
|
|
|
|
- public ResultVo<Integer[]> getSourcesByDate(GetSourcesByDateParam param) {
|
|
|
+ public ResultVo<Map<String, Object>> getSourcesByDate(GetSourcesByDateParam param) {
|
|
|
Integer[] sourceArray = new Integer[7];
|
|
|
RestTemplate template = new RestTemplate();
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
@@ -171,7 +171,10 @@ public class AppointmentService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- return ResultVoUtil.success(sourceArray);
|
|
|
+ Map<String, Object> resultMap = new HashMap<>();
|
|
|
+ resultMap.put("description", dao.selectDeptDescription(param.getDept()));
|
|
|
+ resultMap.put("sources", sourceArray);
|
|
|
+ return ResultVoUtil.success(resultMap);
|
|
|
}
|
|
|
|
|
|
public ResultVo<Object> getDoctorSources(GetDoctorSourcesParam param) {
|