|
|
|
@ -124,13 +124,12 @@ public class MailSourceTask {
|
|
|
|
|
(file.listFiles())[DefaultNumberConstants.ZERO_NUMBER];
|
|
|
|
|
// 解析文件
|
|
|
|
|
CsvData data = reader.read(parseFile);
|
|
|
|
|
CsvRow strings = data.getRows().get(DefaultNumberConstants.ZERO_NUMBER);
|
|
|
|
|
String tagStr = strings.get(DefaultNumberConstants.ONE_NUMBER);
|
|
|
|
|
// csv通配
|
|
|
|
|
data.getRows().forEach(clue -> {
|
|
|
|
|
phoneList.add(clue.size() == DefaultNumberConstants.THREE_NUMBER
|
|
|
|
|
? clue.get(DefaultNumberConstants.TWO_NUMBER) : clue.get(DefaultNumberConstants.THREE_NUMBER));
|
|
|
|
|
tagList.add(tagStr);
|
|
|
|
|
tagList.add(clue.size() == DefaultNumberConstants.THREE_NUMBER
|
|
|
|
|
? clue.get(DefaultNumberConstants.ZERO_NUMBER) : clue.get(DefaultNumberConstants.ONE_NUMBER));
|
|
|
|
|
});
|
|
|
|
|
// 去除重复
|
|
|
|
|
List<String> phoneSets = Lists.newArrayList(Sets.newHashSet(phoneList));
|
|
|
|
|