package com.iailab.module.mcs.service;
|
|
import com.iailab.framework.common.page.PageData;
|
import com.iailab.framework.common.service.BaseService;
|
import com.iailab.module.mcs.dto.StModelDTO;
|
import com.iailab.module.mcs.entity.StModelEntity;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.io.IOException;
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 模型信息表
|
*
|
* @author lirm ${email}
|
* @since 1.0.0 2023-06-21
|
*/
|
public interface StModelService extends BaseService<StModelEntity> {
|
|
PageData<StModelDTO> page(Map<String, Object> params);
|
|
StModelDTO get(String id);
|
|
List<StModelDTO> getListAll(Map<String, Object> params);
|
|
void save(StModelDTO dto);
|
|
void update(StModelDTO dto);
|
|
StModelDTO getByCode(String code);
|
|
void deleteByIds(String[] ids);
|
|
void enableByIds(String[] ids);
|
|
void disableByIds(String[] ids);
|
|
void updateTime(String id, Date runTime);
|
|
Map<String, Object> upload(MultipartFile file) throws IOException;
|
|
Map<String, Object> getRelation();
|
|
}
|