Commit b70a5ba0586455c82083b107062915929f6562f6

Authored by liquanyu
1 parent 209aa0a97d

儿童是否开通疾病查询

Showing 2 changed files with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java View file @ b70a5ba
... ... @@ -2453,6 +2453,7 @@
2453 2453 BabyModelQuery babyQuery = new BabyModelQuery();
2454 2454 babyQuery.setVcCardNo(request.getVcCardNo());
2455 2455 babyQuery.setQueryNo(request.getQueryNo());
  2456 + babyQuery.setOpenDisease(request.getOpenDisease());
2456 2457  
2457 2458 //结案查询
2458 2459 babyQuery.setEndCase(request.getEndCase());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java View file @ b70a5ba
... ... @@ -985,7 +985,8 @@
985 985 public BaseObjectResponse addNutritionInfo(NutritionInfoRequest nutritionInfoRequest) {
986 986  
987 987 Patients patients = patientsService.findOnePatientById(nutritionInfoRequest.getPatientId());
988   - List<PatientWeight> patientWeights = patientWeightService2.queryPatientWeight(Query.query(Criteria.where("pid").is(patients.getPid()).and("yn").is("1")));
  988 + List<PatientWeight> patientWeights = patientWeightService2.queryPatientWeight(Query.query(
  989 + Criteria.where("pid").is(patients.getPid()).and("yn").is("1").and("created").gte(patients.getLastMenses())));
989 990 String hospitalId = nutritionInfoRequest.getHospitalId().trim();
990 991  
991 992