first version of aida_back
This commit is contained in:
50
src/main/java/com/ai/da/service/DesignItemService.java
Normal file
50
src/main/java/com/ai/da/service/DesignItemService.java
Normal file
@@ -0,0 +1,50 @@
|
||||
package com.ai.da.service;
|
||||
|
||||
import com.ai.da.mapper.entity.DesignItem;
|
||||
import com.ai.da.model.dto.DesignSingleDTO;
|
||||
import com.ai.da.model.vo.DesignCollectionItemVO;
|
||||
import com.ai.da.model.vo.DesignCollectionVO;
|
||||
import com.ai.da.model.vo.DesignItemOthersDetailVO;
|
||||
import com.ai.da.model.vo.GetNextSysElementVO;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 服务类
|
||||
*
|
||||
* @author yanglei
|
||||
* @since 2022-09-11
|
||||
*/
|
||||
public interface DesignItemService extends IService<DesignItem> {
|
||||
|
||||
Long saveOne(DesignItem designItem);
|
||||
|
||||
int deleteByCollectionId(Long collectionId);
|
||||
|
||||
List<DesignItem> getByDesignId(Long designId);
|
||||
|
||||
void updateLikeStatus(Long designItemId,Byte hasLike);
|
||||
|
||||
void updateDesignHighUrl(Long designItemId,String highUrl,String timeZone);
|
||||
|
||||
/**
|
||||
* 切换系统elemnt
|
||||
* @param id
|
||||
* @param type
|
||||
*/
|
||||
GetNextSysElementVO getNextSysElement(Long id, String type, String operateType);
|
||||
|
||||
/**
|
||||
* 单个design
|
||||
* @param designSingleDTO
|
||||
*/
|
||||
DesignCollectionItemVO designSingle(DesignSingleDTO designSingleDTO);
|
||||
|
||||
/**
|
||||
* print打点
|
||||
* @param designSingleDTO
|
||||
*/
|
||||
String printDot(DesignSingleDTO designSingleDTO);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user