From a6e5c55109236057bbcecf3d7ee27e711017616f Mon Sep 17 00:00:00 2001 From: lzq Date: Fri, 22 Aug 2025 18:06:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=85=A7=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/njzscloud/supervisory/tsp/service/TspPhotoService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/njzscloud-svr/src/main/java/com/njzscloud/supervisory/tsp/service/TspPhotoService.java b/njzscloud-svr/src/main/java/com/njzscloud/supervisory/tsp/service/TspPhotoService.java index 9a6028a..f977e6a 100644 --- a/njzscloud-svr/src/main/java/com/njzscloud/supervisory/tsp/service/TspPhotoService.java +++ b/njzscloud-svr/src/main/java/com/njzscloud/supervisory/tsp/service/TspPhotoService.java @@ -91,7 +91,7 @@ public class TspPhotoService extends ServiceImpl this.removeById(oldData.getId()); } TspPhotoEntity tspPhotoEntity = BeanUtil.copyProperties(tspPhotoSaveParam, TspPhotoEntity.class); - this.save(tspPhotoEntity); + this.save(tspPhotoEntity.setPhotoCount(tspPhotoEntity.getPhotos().size())); } public TspPhotoEntity listPhoto(TspPhotoSearchParam tspPhotoSearchParam) {