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