|
|
@ -140,7 +140,7 @@ public class TRecordController extends BaseController
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation("诊断记录上传")
|
|
|
|
@ApiOperation("诊断记录上传")
|
|
|
|
@PostMapping("diagnostic/upload")
|
|
|
|
@PostMapping("diagnostic/upload")
|
|
|
|
public AjaxResult diagnosticRecordsUploaded(AppRecordReq appRecordReq) {
|
|
|
|
public AjaxResult diagnosticRecordsUploaded(@RequestBody AppRecordReq appRecordReq) {
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
TRecord tRecord = new TRecord();
|
|
|
|
BeanUtils.copyProperties(appRecordReq, tRecord);
|
|
|
|
BeanUtils.copyProperties(appRecordReq, tRecord);
|
|
|
|
return AjaxResult.success(tRecordService.updateTRecord(tRecord));
|
|
|
|
return AjaxResult.success(tRecordService.updateTRecord(tRecord));
|
|
|
|