|
|
@ -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));
|
|
|
|