|
|
|
@ -148,7 +148,7 @@ public class AppController extends BaseController
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation("诊断记录上传")
|
|
|
|
|
@PostMapping("/record/diagnostic/upload")
|
|
|
|
|
public AjaxResult diagnosticRecordsUploaded(AppRecordReq appRecordReq) {
|
|
|
|
|
public AjaxResult diagnosticRecordsUploaded(@RequestBody AppRecordReq appRecordReq) {
|
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
|
BeanUtils.copyProperties(appRecordReq, tRecord);
|
|
|
|
|
return AjaxResult.success(tRecordService.updateTRecord(tRecord));
|
|
|
|
@ -162,7 +162,7 @@ public class AppController extends BaseController
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation("添加患者")
|
|
|
|
|
@PostMapping("/patient/add")
|
|
|
|
|
public AjaxResult addPatient(AppPatientReq appPatientReq)
|
|
|
|
|
public AjaxResult addPatient(@RequestBody AppPatientReq appPatientReq)
|
|
|
|
|
{
|
|
|
|
|
TPatient tPatient = new TPatient();
|
|
|
|
|
BeanUtils.copyProperties(appPatientReq, tPatient);
|
|
|
|
|