1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| package com.zzg.system.service.system;
|
| import com.baomidou.mybatisplus.extension.service.IService;
| import com.zzg.system.domain.AttachFile;
|
| import java.util.List;
|
| /**
| *
| */
| public interface IAttachFileService extends IService<AttachFile> {
| AttachFile transFile(String filePath, String foreignId, Integer fileType);
|
| AttachFile transFile(String filePath, String foreignId, Integer fileType, Integer upType);
|
| /**
| * 统一处理
| *
| * @param filePaths 文件路径
| * @param foreignId 外键
| * @param fileType 类型
| * @return
| */
| List<AttachFile> transFile(List<String> filePaths, String foreignId, Integer fileType);
|
| List<AttachFile> transFile(List<String> filePaths, String foreignId, Integer fileType, Integer upType);
|
| /**
| * @param surveyId
| * @param inventoryId
| * @param inventoryFarmer
| * @param path
| * @param fileType
| * @return
| */
| AttachFile createByAgree(String surveyId, String inventoryId, Integer inventoryFarmer, String path, Integer fileType);
|
|
| }
|
|