Commit aef91602ce5c74701c42efab16728939a1ac8bc6

Authored by haorp
1 parent 1fd76545c7
Exists in dev

小程序调用-产后康复

Showing 1 changed file with 14 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/matnRehabPC/service/impl/MatnRehabServiceImpl.java View file @ aef9160
... ... @@ -6,6 +6,8 @@
6 6 import com.lyms.platform.common.result.BaseObjectResponse;
7 7 import com.lyms.platform.operate.web.facade.ViewFacade;
8 8 import com.lyms.platform.operate.web.matnRehabPC.service.MatnRehabService;
  9 +import com.lyms.platform.operate.web.matnRehabPC.mapper.MedicalRecordMapper;
  10 +import com.lyms.platform.operate.web.vo.MedicalRecordVo;
9 11 import com.lyms.platform.pojo.MaternalDeliverModel;
10 12 import com.lyms.platform.pojo.PatientWeight;
11 13 import com.lyms.platform.pojo.Patients;
... ... @@ -35,6 +37,9 @@
35 37 @Autowired
36 38 private PatientWeightService2 patientWeightService2;
37 39  
  40 +// @Autowired
  41 +// private MedicalRecordMapper medicalRecordMapper;
  42 +
38 43 @Override
39 44 public BaseObjectResponse queryInfo(String phone) {
40 45 BaseObjectResponse baseObjectResponse = new BaseObjectResponse();
... ... @@ -64,6 +69,15 @@
64 69 PatientWeight patientWeight= patientWeights.get(0);
65 70 Map<String,Object> data = (Map<String, Object>) baseObjectResponse.getData();
66 71 data.put("patientWeight",patientWeight);
  72 + MedicalRecordVo medicalRecordVo = new MedicalRecordVo();
  73 + medicalRecordVo.setCardNo(patients.getCardNo());
  74 + // 诊断手术赋值
  75 +// List<MedicalRecordVo> list = medicalRecordMapper.queryList(medicalRecordVo);
  76 +// if(CollectionUtils.isNotEmpty(list)){
  77 +// MedicalRecordVo medicalRecordVo1 = list.get(0);
  78 +// data.put("diagnosis",medicalRecordVo1.getDiagnosis());
  79 +// data.put("operation",medicalRecordVo1.getOperation());
  80 +// }
67 81 baseObjectResponse.setData(data);
68 82 }
69 83 }