|
@ -742,4 +742,13 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(value = "doctor",required = false) String doctor)throws Exception{
|
|
|
return success(prescriptionService.getDoctorIntroduction(doctor));
|
|
|
}
|
|
|
|
|
|
@GetMapping(value = BaseHospitalRequestMapping.Prescription.findByDict)
|
|
|
@ApiOperation(value = "查询医院字典", notes = "查询医院字典")
|
|
|
public ListEnvelop findByDict(@ApiParam(name = "name", value = "字典名称")
|
|
|
@RequestParam(value = "name", required = true)String name,
|
|
|
@ApiParam(name = "hospital", value = "医生code")
|
|
|
@RequestParam(value = "hospital", required = true)String hospital) {
|
|
|
return success(prescriptionService.findByDict(name,hospital));
|
|
|
}
|
|
|
}
|