上传照片
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user