上传照片

This commit is contained in:
lzq
2025-08-22 18:06:49 +08:00
parent 313d095228
commit a6e5c55109
@@ -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) {