患者信息修改入参改为请求体方式

master
chenfei 2 years ago
parent bb50334d4e
commit dceb59eb94

@ -187,7 +187,7 @@ public class AppController extends BaseController
*/ */
@ApiOperation("患者信息修改") @ApiOperation("患者信息修改")
@PostMapping("/patient/modify") @PostMapping("/patient/modify")
public AjaxResult patientsWithModified(AppPatientReq appPatientReq) { public AjaxResult patientsWithModified(@RequestBody AppPatientReq appPatientReq) {
TPatient tPatient = new TPatient(); TPatient tPatient = new TPatient();
BeanUtils.copyProperties(appPatientReq, tPatient); BeanUtils.copyProperties(appPatientReq, tPatient);
return AjaxResult.success(tPatientService.updateTPatient(tPatient)); return AjaxResult.success(tPatientService.updateTPatient(tPatient));

Loading…
Cancel
Save