Commit 3894fde5e35576f8d982012f8ab0a35198800644

Authored by liquanyu
1 parent de684a1a5d

update

Showing 2 changed files with 3 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java View file @ 3894fde
... ... @@ -985,6 +985,7 @@
985 985 public BaseObjectResponse addNutritionInfo(NutritionInfoRequest nutritionInfoRequest) {
986 986  
987 987 Patients patients = patientsService.findOnePatientById(nutritionInfoRequest.getPatientId());
  988 + nutritionInfoRequest.setPid(patients.getPid());
988 989 List<PatientWeight> patientWeights = patientWeightService2.queryPatientWeight(Query.query(
989 990 Criteria.where("pid").is(patients.getPid()).and("yn").is("1").and("created").gte(patients.getLastMenses())));
990 991 String hospitalId = nutritionInfoRequest.getHospitalId().trim();
... ... @@ -1161,6 +1162,7 @@
1161 1162 temp.put("timestamp", DateUtil.getyyyy_MM_dd_hms(new Date()));
1162 1163 temp.put("hospitalId", hospitalId);
1163 1164 Patients p = mongoTemplate.findById(bloodPressure.getParentId(), Patients.class);
  1165 + nutritionInfoRequest.setPid(p.getPid());
1164 1166 BloodPressure bp = null;
1165 1167 if (p != null) {
1166 1168 bp = mongoTemplate.findOne(Query.query(Criteria.where("pid").is(p.getPid())), BloodPressure.class);
platform-operate-api/src/main/resources/spring/applicationContext-quartz.xml View file @ 3894fde
... ... @@ -588,7 +588,7 @@
588 588  
589 589 <ref bean="autoGetSieveTrigger" />
590 590 <ref bean="genWeightTrigger" />
591   - <ref bean="handleTrackDownTrigger" />
  591 +<!-- <ref bean="handleTrackDownTrigger" />-->
592 592  
593 593 <!--陵城孕前优生临床检查自动保存到表
594 594 <ref bean="dzlcTyTrigger" />-->