吉安感知网项目-后端
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
package org.sxkj.common.enums;
 
 
import java.util.Arrays;
import java.util.List;
 
/**
 * 附件结果类型
 * 成果类型:0图片,1=视频,2=ai,3=三维,4=正射,5=全景, 6=图片压缩小(后缀small),7=图片压缩中(后缀show),8视频一帧图,9视频压缩,10ai压缩小,11ai压缩中,12水印,13 倾斜,14 工单上传
 *
 * @author zhongrj
 * @date 2025-12-08
 */
public enum AttachResultTypeEnum {
 
    PIC(0, "图片"),
 
    VIDEO(1, "视频"),
 
    AI_PIC(2, "AI图片"),
 
    ALB(3, "三维白膜"),
 
    ORT(4, "正射"),
 
    PANORAMA(5, "全景"),
 
    PIC_SMALL(6, "图片压缩小(后缀small)"),
 
    PIC_SHOW(7, "图片压缩中(后缀show)"),
 
    VIDEO_LOOP(8, "视频一帧图"),
 
    VIDEO_SMALL(9, "视频压缩"),
 
    PIC_AI_SMALL(10, "AI压缩图片小(后缀small)"),
 
    PIC_AI_SHOW(11, "AI压缩图片中(后缀show)"),
 
    WATERMARK(12, "水印"),
 
    TILT(13, "三维倾斜"),
 
    WORK_UPLOAD(14, "工单上传"),
 
    DIRECTION_PIC(15, "定向拍照的图片"),
 
    CHANGE_DETECTION(16, "变化检测上传");
 
 
    private Integer type;
 
    private String name;
 
    public Integer getType() {
        return type;
    }
 
    public String getName() {
        return name;
    }
 
    AttachResultTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }
 
    /**
     * 获取成果类型
     * @return
     */
    public static List<Integer> getTheAttachmentType() {
        return Arrays.asList(0, 1, 2, 4, 5, 15);
    }
 
    /**
     * 获取下载成果类型
     * @return
     */
    public static List<Integer> getDownTheAttachmentType() {
        return Arrays.asList(0, 1, 2, 4, 15);
    }
}