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;
|
2024-06-12 09:47:55 +08:00
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
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);
|
|
|
|
|
|
2023-11-20 15:06:15 +08:00
|
|
|
void deleteTrialData(Long id);
|
2023-12-28 17:58:51 +08:00
|
|
|
|
|
|
|
|
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:44:07 +08:00
|
|
|
|
2024-12-09 13:31:30 +08:00
|
|
|
Boolean productImageInitialize(ProductImageInitializeDTO productImageInitializeDTO);
|
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);
|
|
|
|
|
|
|
|
|
|
String brandDNAUpload(MultipartFile file, Long brandId) throws IOException;
|
2025-03-27 13:33:09 +08:00
|
|
|
|
|
|
|
|
PageBaseResponse<BrandDNAVO> brandDNAPage(BrandDNAQueryDTO brandDNAQueryDTO);
|
2023-01-06 15:17:37 +08:00
|
|
|
}
|