提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.mcs.service; |
H |
2 |
|
|
3 |
import com.iailab.framework.common.page.PageData; |
|
4 |
import com.iailab.framework.common.service.BaseService; |
|
5 |
import com.iailab.module.mcs.dto.StModelDTO; |
|
6 |
import com.iailab.module.mcs.entity.StModelEntity; |
|
7 |
import org.springframework.web.multipart.MultipartFile; |
|
8 |
|
|
9 |
import java.io.IOException; |
|
10 |
import java.util.Date; |
|
11 |
import java.util.List; |
|
12 |
import java.util.Map; |
|
13 |
|
|
14 |
/** |
|
15 |
* 模型信息表 |
|
16 |
* |
|
17 |
* @author lirm ${email} |
|
18 |
* @since 1.0.0 2023-06-21 |
|
19 |
*/ |
|
20 |
public interface StModelService extends BaseService<StModelEntity> { |
|
21 |
|
|
22 |
PageData<StModelDTO> page(Map<String, Object> params); |
|
23 |
|
|
24 |
StModelDTO get(String id); |
|
25 |
|
|
26 |
List<StModelDTO> getListAll(Map<String, Object> params); |
|
27 |
|
|
28 |
void save(StModelDTO dto); |
|
29 |
|
|
30 |
void update(StModelDTO dto); |
|
31 |
|
|
32 |
StModelDTO getByCode(String code); |
|
33 |
|
|
34 |
void deleteByIds(String[] ids); |
|
35 |
|
|
36 |
void enableByIds(String[] ids); |
|
37 |
|
|
38 |
void disableByIds(String[] ids); |
|
39 |
|
|
40 |
void updateTime(String id, Date runTime); |
|
41 |
|
|
42 |
Map<String, Object> upload(MultipartFile file) throws IOException; |
|
43 |
|
|
44 |
Map<String, Object> getRelation(); |
|
45 |
|
|
46 |
} |