|
|
|
@ -215,10 +215,10 @@ public class AppController extends BaseController
|
|
|
|
|
* @return {@code AjaxResult}
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation("诊断记录列表")
|
|
|
|
|
@GetMapping("/record/list")
|
|
|
|
|
public AjaxResult diagnosisOfRecordList(AppPatientHospitalDoctor appPatientHospitalDoctor) {
|
|
|
|
|
@GetMapping("/record/list/{patientId}")
|
|
|
|
|
public AjaxResult diagnosisOfRecordList(@PathVariable("patientId") Long patientId) {
|
|
|
|
|
TPatientHospitalDoctor tPatientHospitalDoctor = new TPatientHospitalDoctor();
|
|
|
|
|
BeanUtils.copyProperties(appPatientHospitalDoctor, tPatientHospitalDoctor);
|
|
|
|
|
tPatientHospitalDoctor.setPatientId(patientId);
|
|
|
|
|
List<TRecordResp> tRecords = tRecordService.queryRecordListByPHDids(tPatientHospitalDoctor);
|
|
|
|
|
return AjaxResult.success(tRecords);
|
|
|
|
|
}
|
|
|
|
|