package com.fdkankan.fusion.service;
import com.fdkankan.fusion.common.PageInfo;
import com.fdkankan.fusion.entity.Model;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fdkankan.fusion.request.ModelPram;
import org.springframework.web.multipart.MultipartFile;
import java.util.HashMap;
import java.util.List;
/**
*
* 服务类
*
*
* @author
* @since 2022-08-03
*/
public interface IModelService extends IService {
Model uploadObj(MultipartFile file, String username) throws Exception;
PageInfo pageList(ModelPram param, String username);
void delete(Integer modelId);
List getListByNum(List numList);
void deleteByNum(List numList);
List getByUserName(String username);
List getListByModelIds(List modelIds);
List getListByModelIdStrs(List numList);
Model getIsNullNewByNum(String num,Integer type);
Object getInfo(Integer modelId);
String uploadObjProgress(Integer modelId);
void cancelUpload(Integer modelId);
HashMap getMapByNum(List numList);
}