|
|
|
@ -319,12 +319,6 @@ public class CustomerImpressionImplTest {
|
|
|
|
|
if(DateUtils.addMonths(tmpClient.getDate("create_time"), 7).compareTo(now)>-1){
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
if(p.getKey().equals("1239")){
|
|
|
|
|
for (Map.Entry<String, String> stringStringEntry : p.getValue().entrySet()) {
|
|
|
|
|
System.out.println(stringStringEntry.getKey()+":"+stringStringEntry.getValue());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (Map.Entry<String, String> o : p.getValue().entrySet()) {
|
|
|
|
|
LinkedHashMap<String,String> resultEle = p.getValue();
|
|
|
|
|
int compareCount = 0;
|
|
|
|
@ -336,14 +330,10 @@ public class CustomerImpressionImplTest {
|
|
|
|
|
}
|
|
|
|
|
Date compareDate = DateUtils.addMonths(DateUtils.parseDate(o.getKey(), "YYYY-MM"), i);
|
|
|
|
|
String compareKey = DateFormatUtils.format(compareDate,"YYYY-MM");
|
|
|
|
|
if(resultEle.containsValue(compareKey)){
|
|
|
|
|
if(resultEle.containsKey(compareKey)){
|
|
|
|
|
i=10;
|
|
|
|
|
}
|
|
|
|
|
if(compareCount==6){
|
|
|
|
|
if(p.getKey().equals("1239")){
|
|
|
|
|
System.out.println(compareKey);
|
|
|
|
|
System.out.println(resultEle.containsValue(compareKey));
|
|
|
|
|
}
|
|
|
|
|
resultClients.add(p.getKey());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -351,30 +341,11 @@ public class CustomerImpressionImplTest {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
System.out.println(resultClients.size());
|
|
|
|
|
|
|
|
|
|
if(resultClients.contains("1")){
|
|
|
|
|
System.out.println("1 Exist");
|
|
|
|
|
}
|
|
|
|
|
if(resultClients.contains("7")){
|
|
|
|
|
System.out.println("7 Exist");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(resultClients.contains("15")){
|
|
|
|
|
System.out.println("15 Exist");
|
|
|
|
|
}
|
|
|
|
|
if(resultClients.contains("1239")){
|
|
|
|
|
System.out.println("1239 Exist======================");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(resultClients.contains("2274")){
|
|
|
|
|
System.out.println("2274 Exist======================");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(resultClients.contains("2392")){
|
|
|
|
|
System.out.println("2392 Exist======================");
|
|
|
|
|
}
|
|
|
|
|
System.out.println("0---"+resultClients.size());
|
|
|
|
|
|
|
|
|
|
resultClients.forEach(p->{
|
|
|
|
|
System.out.println(p);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// OutputStream out = new FileOutputStream("/Users/wangning/Desktop/春节活动报名结果通知(包含BD名称).xlsx");
|
|
|
|
|