同步代码

This commit is contained in:
lulz1 2024-02-29 15:47:59 +08:00
parent bae2199a7a
commit 69a42c9b5e
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public class LocationController {
if (locations != null && !locations.isEmpty()) {
locationRes = locations
.stream()
.map(location -> BeanUtil.copyProperties(location, LocationRes.class)).toList();
.map(LocationRes::copyFrom).toList();
}
return Result.Success(SUCCESS, locationRes);
}