吉安感知网项目-后端
xiebin
2026-01-06 d207a86cdf1ab52ef8cb7cd83bad8fceab8038cf
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package org.sxkj.resource.feign;
 
import org.springblade.core.oss.model.BladeFile;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;
import org.sxkj.resource.entity.Attach;
import org.sxkj.resource.vo.AttachTypeStatisticsVO;
import org.sxkj.resource.vo.AttachVO;
 
import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;
 
/**
 * 附件远程调用失败处理类
 *
 * @author Chill
 */
@Component
public class IAttachClientFallback implements IAttachClient {
 
    @Override
    public Boolean saveAttachInfo(Attach attach) {
        return false;
    }
 
    @Override
    public List<AttachVO> getAttachData(String jobs) {
        return null;
    }
 
    @Override
    public BladeFile saveAttachFile(MultipartFile file, String fileName) throws IOException {
        return null;
    }
 
    @Override
    public BladeFile saveAttachFile(MultipartFile file, String fileName, Integer type) throws IOException {
        return null;
    }
 
    @Override
    public List<String> getAttachNames(List<Long> ids) {
        return List.of();
    }
 
    @Override
    public Map<String, Object> findMetaDataByName(List<String> names) {
        return Map.of();
    }
 
    @Override
    public Long findResultNumByJobId(String jobId) {
        return 0L;
    }
 
    @Override
    public BladeFile putFile(MultipartFile file, String fileName) throws IOException {
        return null;
    }
 
    @Override
    public Attach getAttachByMd5(String md5) {
        return null;
    }
 
    @Override
    public void processingYesterdayVideo(Date startTime, Date endTime) {
 
    }
 
    /**
     *  删除附近
     * @param deviceSn    设备sn
     * @param timestamp   时间戳
     * @param operator    操作人
     * @param workspaceId 工作空间id
     * @return
     */
    @Override
    public Boolean deleteAttach(String deviceSn, long timestamp, Long operator, String workspaceId) {
        return null;
    }
 
    /**
     * 三维区域统计
     * @param deviceSn
     * @param startDate
     * @param endDate
     * @param resultTypes
     * @return
     */
    @Override
    public List<AttachTypeStatisticsVO> calculateTheThreeDimensionalArea(String deviceSn, String startDate, String endDate, String resultTypes, String areaCode) {
        return null;
    }
 
    @Override
    public Attach getAttachById(String id) {
        return null;
    }
}