上传照片

master
lzq 2025-08-22 18:06:49 +08:00
parent 313d095228
commit a6e5c55109
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class TspPhotoService extends ServiceImpl<TspPhotoMapper, TspPhotoEntity>
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) {