App端诊断记录列表入参调整

master
gongzhenkun 2 years ago
parent ee3ad8b728
commit 4d3942600f

@ -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);
}

Loading…
Cancel
Save