You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.aurora.service;
import com.aurora.model.dto.PageResultDTO;
import com.aurora.model.dto.PhotoAdminDTO;
import com.aurora.model.dto.PhotoAlbumAdminDTO;
import com.aurora.model.dto.PhotoDTO;
import com.aurora.entity.Photo;
import com.aurora.model.vo.*;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
public interface PhotoService extends IService<Photo> {
PageResultDTO<PhotoAdminDTO> listPhotos(ConditionVO conditionVO);
void updatePhoto(PhotoInfoVO photoInfoVO);// 导入照片信息值对象PhotoInfoVO用于接收前端传递的照片信息更新参数通常进行参数校验
void savePhotos(PhotoVO photoVO);//导入照片值对象PhotoVO用于接收前端传递的照片新增或批量操作参数
void updatePhotosAlbum(PhotoVO photoVO);
void updatePhotoDelete(DeleteVO deleteVO);//导入删除值对象DeleteVO用于接收删除操作的参数如逻辑删除状态标识
void deletePhotos(List<Integer> photoIds);
PhotoDTO listPhotosByAlbumId(Integer albumId);
}