|
@ -3,6 +3,7 @@ package com.yihu.jw.controller;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.yihu.jw.entity.specialist.SpecialistPatientRelationDO;
|
|
|
import com.yihu.jw.restmodel.web.MixEnvelop;
|
|
|
import com.yihu.jw.restmodel.web.ObjEnvelop;
|
|
|
import com.yihu.jw.restmodel.web.endpoint.EnvelopRestEndpoint;
|
|
|
import com.yihu.jw.restmodel.specialist.*;
|
|
|
import com.yihu.jw.rm.specialist.SpecialistMapping;
|
|
@ -388,4 +389,22 @@ public class SpecialistController extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = SpecialistMapping.specialist.searchPatientInSpeciaInfo)
|
|
|
@ApiOperation(value = "根据病人和医生id病人的家签信息、专科开通信息")
|
|
|
public ObjEnvelop searchPatientInSpecialist(
|
|
|
@ApiParam(name = "doctorCode", value = "医生code",required = true)
|
|
|
@RequestParam(value = "doctorCode",required = true)String doctorCode,
|
|
|
@ApiParam(name = "patientCode", value = "居民id")
|
|
|
@RequestParam(value = "patientCode",required = true)String patientCode){
|
|
|
try {
|
|
|
return specialistService.doctorForSpecialistInfo(doctorCode,patientCode);
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
tracer.getCurrentSpan().logEvent(e.getMessage());
|
|
|
return null;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|