App新增医生预约记录参数修改

master
gongzhenkun 2 years ago
parent a6833a340f
commit b5e4bb19d0

@ -509,7 +509,7 @@ public class AppController extends BaseController
@ApiOperation("新增预约记录") @ApiOperation("新增预约记录")
@Log(title = "App新增预约记录", businessType = BusinessType.INSERT) @Log(title = "App新增预约记录", businessType = BusinessType.INSERT)
@PostMapping("/record/add/{patientId}") @PostMapping("/record/add/{patientId}")
public AjaxResult addRecord(@PathVariable Long patientId) public AjaxResult addRecord(@PathVariable("patientId") Long patientId)
{ {
TRecord tRecord = new TRecord(); TRecord tRecord = new TRecord();
tRecord.setHospitalId(SecurityUtils.getLoginUser().getUser().getHospitalId()); tRecord.setHospitalId(SecurityUtils.getLoginUser().getUser().getHospitalId());

Loading…
Cancel
Save