diff --git a/app/Service/Permission/DepartmentService.php b/app/Service/Permission/DepartmentService.php index 18510e3e..a65afb80 100644 --- a/app/Service/Permission/DepartmentService.php +++ b/app/Service/Permission/DepartmentService.php @@ -44,6 +44,7 @@ public function updateById(mixed $id, array $data): mixed if (empty($entity)) { throw new BusinessException(ResultCode::NOT_FOUND); } + $this->repository->updateById($id, $data); $this->handleEntity($entity, $data); }); }