|
|
@ -108,9 +108,66 @@ public class LogisticsConst {
|
|
|
|
public static String getDDLogisticsName(String aliLogisticsName) {
|
|
|
|
public static String getDDLogisticsName(String aliLogisticsName) {
|
|
|
|
Map<String, String> logisticsNameMap = new HashMap<>();
|
|
|
|
Map<String, String> logisticsNameMap = new HashMap<>();
|
|
|
|
logisticsNameMap.put("顺丰速运", "顺丰速运(常用)");
|
|
|
|
logisticsNameMap.put("顺丰速运", "顺丰速运(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("顺丰快递", "顺丰速运(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("顺丰快运", "顺丰快运");
|
|
|
|
|
|
|
|
logisticsNameMap.put("圆通", "圆通快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("申通", "申通快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("韵达", "韵达快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("韵达快运", "韵达快运");
|
|
|
|
|
|
|
|
logisticsNameMap.put("邮政国内小包", "邮政快递包裹");
|
|
|
|
|
|
|
|
logisticsNameMap.put("邮政电商标快", "邮政电商标快");
|
|
|
|
|
|
|
|
logisticsNameMap.put("邮政标快", "邮政电商标快");
|
|
|
|
|
|
|
|
logisticsNameMap.put("百世快递", "百世快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("百世快运", "百世快运");
|
|
|
|
|
|
|
|
logisticsNameMap.put("极兔速递-原百世快递", "极兔速递");
|
|
|
|
|
|
|
|
logisticsNameMap.put("中通", "中通快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("中通快运", "中通快运");
|
|
|
|
|
|
|
|
logisticsNameMap.put("天天", "天天快递");
|
|
|
|
|
|
|
|
logisticsNameMap.put("德邦", "德邦快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("德邦快递", "德邦快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("德邦物流", "德邦快递(常用)");
|
|
|
|
|
|
|
|
logisticsNameMap.put("速尔快递", "速尔快递");
|
|
|
|
|
|
|
|
logisticsNameMap.put("速尔", "速尔快递");
|
|
|
|
|
|
|
|
logisticsNameMap.put("安能物流", "安能物流");
|
|
|
|
|
|
|
|
logisticsNameMap.put("日日顺供应链", "日日顺物流");
|
|
|
|
|
|
|
|
logisticsNameMap.put("加运美速递", "加运美");
|
|
|
|
|
|
|
|
logisticsNameMap.put("丰网顺丰", "丰网速运");
|
|
|
|
if (logisticsNameMap.containsKey(aliLogisticsName)) {
|
|
|
|
if (logisticsNameMap.containsKey(aliLogisticsName)) {
|
|
|
|
return logisticsNameMap.get(aliLogisticsName);
|
|
|
|
return logisticsNameMap.get(aliLogisticsName);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return aliLogisticsName;
|
|
|
|
return aliLogisticsName;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static String getDDLogisticsCodeByAliLogisticsName(String aliLogisticsName) {
|
|
|
|
|
|
|
|
Map<String, String> logisticsNameAndCodeMap = new HashMap<>();
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("顺丰速运", "shunfeng");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("顺丰快递", "shunfeng");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("顺丰快运", "shunfengkuaiyun");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("圆通", "yuantong");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("申通", "shentong");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("韵达", "yunda");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("韵达快运", "yundakuaiyun");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("邮政国内小包", "youzhengguonei");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("邮政电商标快", "yzdsbk");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("邮政标快", "yzdsbk");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("百世快递", "huitongkuaidi");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("百世快运", "baishiwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("极兔速递-原百世快递", "jtexpress");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("中通", "zhongtong");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("中通快运", "zhongtongkuaiyun");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("天天", "tiantian");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("德邦", "debangwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("德邦快递", "debangwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("德邦物流", "debangwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("速尔快递", "suer");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("速尔", "suer");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("安能物流", "annengwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("日日顺供应链", "rrs");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("加运美速递", "jiayunmeiwuliu");
|
|
|
|
|
|
|
|
logisticsNameAndCodeMap.put("丰网顺丰", "fengwang");
|
|
|
|
|
|
|
|
if (logisticsNameAndCodeMap.containsKey(aliLogisticsName)) {
|
|
|
|
|
|
|
|
return logisticsNameAndCodeMap.get(aliLogisticsName);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return aliLogisticsName;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|