|
@@ -81,13 +81,13 @@ public class ImportExcelListener extends AnalysisEventListener<Map<Integer, Stri
|
|
|
ObjectMap.put("NearlyThirtyDays",vlue);
|
|
|
}
|
|
|
|
|
|
- if ((keyStr).contains("gmv")){
|
|
|
- ObjectMap.put("gmvMonth",keyStr.substring(0,keyStr.indexOf("gmv")));
|
|
|
+ if ((keyStr).contains("gmv") || (keyStr).contains("GMV")){
|
|
|
+ ObjectMap.put("gmvMonth",keyStr.substring(0,keyStr.length()-3));
|
|
|
ObjectMap.put("gmv",vlue);
|
|
|
}
|
|
|
|
|
|
- if (keyStr.contains("mtd")){
|
|
|
- ObjectMap.put("mtdDate",keyStr.substring(0,keyStr.indexOf("mtd")));
|
|
|
+ if (keyStr.contains("mtd") || keyStr.contains("MTD")){
|
|
|
+ ObjectMap.put("mtdDate",keyStr.substring(0,keyStr.length()-3));
|
|
|
ObjectMap.put("mtd",vlue);
|
|
|
}
|
|
|
|