Files
aida_back/src/main/java/com/ai/da/service/UserLikeGroupService.java

113 lines
3.6 KiB
Java
Raw Normal View History

2023-01-06 15:17:37 +08:00
package com.ai.da.service;
2025-03-27 13:33:09 +08:00
import com.ai.da.common.response.PageBaseResponse;
2025-03-18 13:43:59 +08:00
import com.ai.da.mapper.primary.entity.*;
2025-03-16 13:09:50 +08:00
import com.ai.da.model.dto.*;
2024-06-12 09:47:55 +08:00
import com.ai.da.model.vo.*;
import com.alibaba.fastjson.JSONObject;
2025-03-16 13:09:50 +08:00
import com.baomidou.mybatisplus.core.metadata.IPage;
2023-01-06 15:17:37 +08:00
import com.baomidou.mybatisplus.extension.service.IService;
2025-03-30 15:56:03 +08:00
import io.minio.errors.MinioException;
2024-06-12 09:47:55 +08:00
import org.springframework.web.multipart.MultipartFile;
2025-03-30 15:56:03 +08:00
import javax.servlet.http.HttpServletResponse;
2025-03-20 16:46:13 +08:00
import java.io.IOException;
2024-06-12 09:47:55 +08:00
import java.util.List;
2023-01-06 15:17:37 +08:00
/**
* 服务类
*
* @author yanglei
* @since 2022-09-11
*/
public interface UserLikeGroupService extends IService<UserLikeGroup> {
void deleteUserGroup(Long userGroupId);
HistoryUpdateVO updateUserGroupName(Long userGroupId, String userGroupName, String timeZone);
2025-03-21 09:59:42 +08:00
Long insertUserGroup(Long userId, Long collectionId, String timeZone, Long projectId);
2023-01-06 15:17:37 +08:00
/**
* choose
2023-10-20 14:47:18 +08:00
*
2023-01-06 15:17:37 +08:00
* @param userGroupId
* @return
*/
UserLikeChooseVO choose(Long userGroupId);
2025-03-16 13:09:50 +08:00
ProjectChooseVO choose(ProjectDTO projectDTO);
2025-03-19 14:08:16 +08:00
UserLikeGroup getByProjectId(Long projectId);
void deleteTrialData(Long id);
void updateDate(Long id,String timeZone);
2024-06-12 09:47:55 +08:00
2025-03-26 15:12:55 +08:00
Boolean exportSave(MultipartFile file, Long projectId, String module);
2024-06-12 09:47:55 +08:00
List<ToProductImageResult> toProduct(ToProductImageDTO toProductImageDTO);
2025-02-13 11:06:19 +08:00
void toProduct(String taskId);
2025-03-19 14:13:16 +08:00
ToProductElementVO toProductImageElementUpload(MultipartFile file, Long projectId);
2024-06-12 09:47:55 +08:00
Boolean productImageLike(ProductImageLikeDTO productImageLikeDTO);
2024-06-25 16:43:29 +08:00
List<MagicToolResultVO> getToProductImageResultList(List<String> taskIdList);
2024-06-12 09:47:55 +08:00
2025-03-26 15:12:55 +08:00
JSONObject exportSearch(ExportSearchDTO exportSearchDTO);
2024-06-12 09:47:55 +08:00
CanvasElementUpload canvasElementUpload(MultipartFile file);
2024-06-27 15:33:26 +08:00
List<ToProductImageResultVO> productImageLikeList(ToProductImageDTO toProductImageDTO);
2024-06-17 09:34:48 +08:00
Boolean productImageUnLike(ProductImageLikeDTO productImageLikeDTO);
2024-06-25 16:43:29 +08:00
2025-02-13 11:06:19 +08:00
void relight(String taskId);
2024-06-25 16:43:29 +08:00
List<ToProductImageResult> relight(ToProductImageDTO toProductImageDTO);
List<MagicToolResultVO> getRelightResult(List<String> taskIdList);
2024-10-20 10:52:14 +08:00
String likeHistoryRelSketch();
2024-12-09 13:31:30 +08:00
2024-12-02 12:02:19 +08:00
String download();
2024-12-09 13:31:30 +08:00
Boolean productImageInitialize(ProductImageInitializeDTO productImageInitializeDTO);
2025-03-16 13:09:50 +08:00
2025-04-08 17:29:10 +08:00
InitializeProgressVO getInitializeProgress(ProductImageInitializeDTO productImageInitializeDTO);
2025-04-08 15:15:39 +08:00
2025-03-16 13:09:50 +08:00
IPage<ProjectVO> getPage(ProjectQueryDTO projectQueryDTO);
ModuleChooseVO getModuleContent(ProjectDTO projectDTO);
ModuleChooseVO saveModuleContent(ModuleSaveDTO moduleSaveDTO);
2025-03-18 13:43:59 +08:00
2025-03-25 10:51:16 +08:00
QueryLibraryPageVO getMannequinDetail(MannequinDTO mannequinDTO);
2025-03-20 16:46:13 +08:00
2025-03-27 13:55:16 +08:00
BrandLogoUploadVO brandLogoUpload(MultipartFile file);
2025-03-20 16:46:13 +08:00
Boolean brandDNASaveOrUpdate(BrandDNADTO brandDNADTO);
2025-04-10 11:01:24 +08:00
LibraryUpdateVo brandDNAUpload(MultipartFile file, Long brandId) throws IOException;
2025-03-27 13:33:09 +08:00
PageBaseResponse<BrandDNAVO> brandDNAPage(BrandDNAQueryDTO brandDNAQueryDTO);
2025-03-27 14:32:56 +08:00
BrandDNAGenerateVO brandDNAGenerate(String prompt);
2025-03-30 15:56:03 +08:00
IPage<ThreeDLayoutVO> getThreeDLayoutPage(ThreeDLayoutQueryDTO threeDLayoutQueryDTO);
ThreeDVO getLayoutDetail(Long threeDSimpleId);
ThreeDSizeVO getThreeDSize(Long threeDSimpleId);
void getThreeDGlb(Long threeDSimpleId, HttpServletResponse response) throws MinioException, IOException;
2025-04-08 11:09:28 +08:00
String downloadZip(Long threeDSimpleId, String sizeType, String size, HttpServletResponse response) throws MinioException, IOException;
2025-03-31 15:02:44 +08:00
Boolean delete(Long projectId);
2025-04-08 15:15:39 +08:00
Boolean brandDNADelete(BrandDNADTO brandDNADTO);
2023-01-06 15:17:37 +08:00
}