Commit 3f9c7b3c621364496dd526d43a70846ca599f968

Authored by yangfei
1 parent e05cd3eabc
Exists in master and in 1 other branch dev

开通增值服务同步数据数据验证

Showing 1 changed file with 7 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientMarkHospServiceFacade.java View file @ 3f9c7b3
... ... @@ -331,13 +331,18 @@
331 331 String hospitalId = autoMatchFacade.getHospitalId(id);
332 332 PatientMarkHospitalQuery patientMarkHospQuery = new PatientMarkHospitalQuery();
333 333 patientMarkHospQuery.setHospitalId(hospitalId);
  334 +
  335 + patientMarkHospQuery.setBackResult(1);
334 336 //回院预约成功总数
335 337 int count = patientMarkHospitalService.queryPatientMarkHospitalCount(patientMarkHospQuery);
  338 + patientMarkHospQuery.setBackResult(null);
  339 +
336 340 patientMarkHospQuery.setInHospitStatus(1);
337 341 //待住院提醒总数
338 342 int waitCount = patientMarkHospitalService.queryPatientMarkHospitalCount(patientMarkHospQuery);
339   -
340 343 patientMarkHospQuery.setInHospitStatus(null);
  344 +
  345 +
341 346 patientMarkHospQuery.setInHospitStartDate(patientMarkRequest.getMakeStartDate());
342 347 patientMarkHospQuery.setInHospitEndDate(patientMarkRequest.getMakeEndDate());
343 348  
... ... @@ -355,7 +360,7 @@
355 360  
356 361 //统计数据
357 362 List<ReportMakeHosptail> reportMakeHosptails = patientMarkHospitalService.reportPatMarkHospByInDoctor(patientMarkHospQuery);
358   - patientMarkHospQuery.setBackResult(1);
  363 +
359 364 //列数据
360 365 List<String> legendData = new ArrayList<>();
361 366 List<Map<String, Object>> serData = new ArrayList<>();