上传照片
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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue