|
|
@@ -117,8 +117,8 @@ public class ElderlyAskLeaveController {
|
|
|
@Operation(summary = "出院扫码 - 更新外出时间为当前时间")
|
|
|
@TenantIgnore
|
|
|
@PermitAll
|
|
|
- public CommonResult<Boolean> scanOut(@RequestParam("elderId") Long elderId) {
|
|
|
- elderlyAskLeaveService.scanOut(elderId);
|
|
|
+ public CommonResult<Boolean> scanOut(@RequestBody Map<String, Long> body) {
|
|
|
+ elderlyAskLeaveService.scanOut(body.get("elderId"));
|
|
|
return success(true);
|
|
|
}
|
|
|
|
|
|
@@ -127,8 +127,8 @@ public class ElderlyAskLeaveController {
|
|
|
@Operation(summary = "回院扫码 - 更新实际返回时间为当前时间")
|
|
|
@TenantIgnore
|
|
|
@PermitAll
|
|
|
- public CommonResult<Boolean> scanReturn(@RequestParam("elderId") Long elderId) {
|
|
|
- elderlyAskLeaveService.scanReturn(elderId);
|
|
|
+ public CommonResult<Boolean> scanReturn(@RequestBody Map<String, Long> body) {
|
|
|
+ elderlyAskLeaveService.scanReturn(body.get("elderId"));
|
|
|
return success(true);
|
|
|
}
|
|
|
|