去重总数据国家限定五国并优化筛选布局
- 国家仅保留德国/英国/法国/意大利/西班牙,移除美国及US映射 - 保留服务器已有 V90 迁移,新增 V91 添加 country 列及索引 - ASIN列表筛选区改为两行布局:查询条件+按钮在上,日期+导出在下
This commit is contained in:
+3
-8
@@ -1131,8 +1131,8 @@ public class DedupeTotalDataService {
|
||||
}
|
||||
|
||||
private static final List<String> COUNTRY_CODE_MAP = List.of(
|
||||
"DE", "UK", "FR", "IT", "ES", "US",
|
||||
"美国", "德国", "英国", "法国", "意大利", "西班牙");
|
||||
"DE", "UK", "FR", "IT", "ES",
|
||||
"德国", "英国", "法国", "意大利", "西班牙");
|
||||
|
||||
private String normalizeCountryCode(String raw) {
|
||||
String upper = normalizeExcelText(raw).toUpperCase(Locale.ROOT);
|
||||
@@ -1144,16 +1144,11 @@ public class DedupeTotalDataService {
|
||||
.replace("FRANCE", "FR")
|
||||
.replace("ITALY", "IT")
|
||||
.replace("SPAIN", "ES")
|
||||
.replace("USA", "US")
|
||||
.replace("UNITED STATES", "US")
|
||||
.replace("UNITEDSTATES", "US")
|
||||
.replace("AMERICA", "US")
|
||||
.replace("德国", "DE")
|
||||
.replace("英国", "UK")
|
||||
.replace("法国", "FR")
|
||||
.replace("意大利", "IT")
|
||||
.replace("西班牙", "ES")
|
||||
.replace("美国", "US");
|
||||
.replace("西班牙", "ES");
|
||||
}
|
||||
|
||||
/** 将国家列单元格内容解析为标准国家代码(去重后按出现顺序),无有效国家返回 null。 */
|
||||
|
||||
Reference in New Issue
Block a user