xiejun
2023-06-21 ac0ff6946b0568f9b512ef91ca79312dd39cb78f
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package com.vci.ubcs.code.vo.pagemodel;
 
 
import com.vci.ubcs.starter.revision.model.BaseModel;
 
import java.util.*;
 
/**
 * 导入编码信息的执行结果
 * @author weidy
 * @date 2022-3-6
 */
public class CodeImportResultVO implements java.io.Serializable{
 
    /**
     * 序列化
     */
    private static final long serialVersionUID = 6938911732592877094L;
 
    /**
     * 是否成功的
     */
    private boolean success ;
    /**
     * 关键属性校验规则的信息
     */
    private String keyAttrRuleInfo;
 
    /**
     * 关键属性校验后,重复的行号
     */
    private Set<String> keyAttrRepeatRowIndexList  = new HashSet<>();
    /***
     * 根据关键熟悉查询的重复的数据对象
     */
    private Map<String,  List<BaseModel>> indexTODataMap=new HashMap<>();
    /***
     * 根据关键熟悉查询的重复的数据对象
     */
    //private Map<String,  List<ClientBusinessObject>> indexTODataMap=new HashMap<>();
 
    /**
     * excel自身重复的行号
     */
    private Set<String> selfRepeatRowIndexList = new HashSet<>();
 
    /**
     * 数据的内容有空的行号
     */
    private Set<String> nullRowIndexList = new HashSet<>();
 
    /**
     * 没有通过验证的行号
     */
    private Set<String> unPassVerifyRowIndexSet = new HashSet<>();
 
    public Set<String> getUnPassVerifyRowIndexSet() {
        return unPassVerifyRowIndexSet;
    }
 
    public void setUnPassVerifyRowIndexSet(Set<String> unPassVerifyRowIndexSet) {
        this.unPassVerifyRowIndexSet = unPassVerifyRowIndexSet;
    }
 
    public Set<String> getNullRowIndexList() {
        return nullRowIndexList;
    }
 
    public void setNullRowIndexList(Set<String> nullRowIndexList) {
        this.nullRowIndexList = nullRowIndexList;
    }
 
    public String getKeyAttrRuleInfo() {
        return keyAttrRuleInfo;
    }
 
    public void setKeyAttrRuleInfo(String keyAttrRuleInfo) {
        this.keyAttrRuleInfo = keyAttrRuleInfo;
    }
 
    public Set<String> getKeyAttrRepeatRowIndexList() {
        return keyAttrRepeatRowIndexList;
    }
 
    public void setKeyAttrRepeatRowIndexList(Set<String> keyAttrRepeatRowIndexList) {
        this.keyAttrRepeatRowIndexList = keyAttrRepeatRowIndexList;
    }
 
    public Set<String> getSelfRepeatRowIndexList() {
        return selfRepeatRowIndexList;
    }
 
    public void setSelfRepeatRowIndexList(Set<String> selfRepeatRowIndexList) {
        this.selfRepeatRowIndexList = selfRepeatRowIndexList;
    }
 
    public Map<String, List<BaseModel>> getIndexTODataMap() {
        return indexTODataMap;
    }
 
    public void setIndexTODataMap(Map<String, List<BaseModel>> indexTODataMap) {
        this.indexTODataMap = indexTODataMap;
    }
    /*public Map<String,List<ClientBusinessObject>> getIndexTODataMap() {
        return indexTODataMap;
    }
 
    public void setIndexTODataMap(Map<String, List<ClientBusinessObject>> indexTODataMap) {
        this.indexTODataMap = indexTODataMap;
    }
 
    public boolean isSuccess() {
        return success;
    }
 
    public void setSuccess(boolean success) {
        this.success = success;
    }
 
    @Override
    public String toString() {
        return "CodeImportResultVO{" +
                "success=" + success +
                ", keyAttrRuleInfo='" + keyAttrRuleInfo + '\'' +
                ", keyAttrRepeatRowIndexList=" + keyAttrRepeatRowIndexList +
                ", indexTODataMap=" + indexTODataMap +
                ", selfRepeatRowIndexList=" + selfRepeatRowIndexList +
                ", nullRowIndexList=" + nullRowIndexList +
                ", unPassVerifyRowIndexSet=" + unPassVerifyRowIndexSet +
                '}';
    }*/
 
 
}