|
|
@ -100,7 +100,7 @@ public class AppController extends BaseController
|
|
|
|
* @param appPatientHospitalDoctor 应用病人医院医生
|
|
|
|
* @param appPatientHospitalDoctor 应用病人医院医生
|
|
|
|
* @return {@code AjaxResult}
|
|
|
|
* @return {@code AjaxResult}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation("患者预约")
|
|
|
|
@ApiOperation("小程序患者预约")
|
|
|
|
@Log(title = "小程序患者预约", businessType = BusinessType.INSERT)
|
|
|
|
@Log(title = "小程序患者预约", businessType = BusinessType.INSERT)
|
|
|
|
@GetMapping("/patient/makeAnAppointment")
|
|
|
|
@GetMapping("/patient/makeAnAppointment")
|
|
|
|
public AjaxResult patientsToMakeAnAppointment(AppPatientHospitalDoctor appPatientHospitalDoctor)
|
|
|
|
public AjaxResult patientsToMakeAnAppointment(AppPatientHospitalDoctor appPatientHospitalDoctor)
|
|
|
@ -208,6 +208,14 @@ public class AppController extends BaseController
|
|
|
|
return AjaxResult.success(tPatientService.updateTPatient(tPatient));
|
|
|
|
return AjaxResult.success(tPatientService.updateTPatient(tPatient));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("获取患者详细信息")
|
|
|
|
|
|
|
|
@GetMapping ("/patient/info/{id}")
|
|
|
|
|
|
|
|
public AjaxResult getPatientInfo2(@PathVariable("id") Long id) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return AjaxResult.success(tPatientService.selectTPatientById(id));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 诊断记录列表
|
|
|
|
* 诊断记录列表
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -263,7 +271,7 @@ public class AppController extends BaseController
|
|
|
|
return getDataTable(tRecordService.selectTRecordListWithoutResult(recordResultReq));
|
|
|
|
return getDataTable(tRecordService.selectTRecordListWithoutResult(recordResultReq));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("获取患者详细信息")
|
|
|
|
@ApiOperation("小程序获取患者详细信息")
|
|
|
|
@GetMapping ("/patient/info")
|
|
|
|
@GetMapping ("/patient/info")
|
|
|
|
public AjaxResult getPatientInfo() {
|
|
|
|
public AjaxResult getPatientInfo() {
|
|
|
|
return AjaxResult.success(tPatientService.selectTPatientById(getUserId()));
|
|
|
|
return AjaxResult.success(tPatientService.selectTPatientById(getUserId()));
|
|
|
|