提交 | 用户 | 时间
|
449017
|
1 |
package com.iailab.module.model.mpk.service; |
D |
2 |
|
|
3 |
import com.iailab.framework.common.page.PageData; |
c12dae
|
4 |
import com.iailab.framework.common.pojo.CommonResult; |
449017
|
5 |
import com.iailab.framework.common.service.BaseService; |
D |
6 |
import com.iailab.module.model.mpk.dto.MpkFileDTO; |
|
7 |
import com.iailab.module.model.mpk.entity.MpkFileEntity; |
|
8 |
import org.springframework.web.multipart.MultipartFile; |
|
9 |
|
|
10 |
import java.io.IOException; |
|
11 |
import java.util.List; |
|
12 |
import java.util.Map; |
|
13 |
|
|
14 |
/** |
|
15 |
* @author PanZhibao |
|
16 |
* @Description |
|
17 |
* @createTime 2024年08月14日 |
|
18 |
*/ |
0255ea
|
19 |
public interface MpkFileService extends BaseService<MpkFileEntity> { |
449017
|
20 |
|
D |
21 |
PageData<MpkFileDTO> page(Map<String, Object> params); |
|
22 |
|
|
23 |
List<MpkFileDTO> list(Map<String, Object> params); |
|
24 |
|
|
25 |
MpkFileDTO get(String id); |
|
26 |
|
|
27 |
void save(MpkFileDTO dto); |
|
28 |
|
|
29 |
void update(MpkFileDTO dto); |
|
30 |
|
|
31 |
void delete(String id); |
|
32 |
|
|
33 |
byte[] generatorCode(String id, String remark, String zipFileName); |
|
34 |
|
94c169
|
35 |
byte[] packageModel(String projectId,String projectName,String fileName,String log,String version) throws IOException, InterruptedException; |
449017
|
36 |
|
D |
37 |
Map<String,String> savePyFile(MultipartFile file) throws IOException; |
c12dae
|
38 |
|
D |
39 |
CommonResult<String> publish(Map<String, Object> params); |
449017
|
40 |
} |