...
|
...
|
@@ -109,13 +109,12 @@ public class OrderAssist { |
|
|
}
|
|
|
|
|
|
public static Integer findBusinessClientCode(String businessClient){
|
|
|
Integer businessClientCode = null;
|
|
|
if (StringUtils.isNotBlank(businessClient)){
|
|
|
if(OrderConstant.BusinessClient.TAOBAO_FLEAMARKET.equalsIgnoreCase(businessClient)) {
|
|
|
businessClientCode = BusinessClientEnum.TAOBAO_FLEAMARKET_CLIENT.getCode();
|
|
|
}
|
|
|
BusinessClientEnum businessClientEnum = findBusinessClient(businessClient);
|
|
|
if (businessClientEnum != null){
|
|
|
return businessClientEnum.getCode();
|
|
|
}
|
|
|
return businessClientCode;
|
|
|
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -124,6 +123,8 @@ public class OrderAssist { |
|
|
if (StringUtils.isNotBlank(businessClient)){
|
|
|
if(OrderConstant.BusinessClient.TAOBAO_FLEAMARKET.equalsIgnoreCase(businessClient)) {
|
|
|
businessClientCode = BusinessClientEnum.TAOBAO_FLEAMARKET_CLIENT;
|
|
|
}else if(OrderConstant.BusinessClient.TEST.equalsIgnoreCase(businessClient)){
|
|
|
businessClientCode = BusinessClientEnum.TEST;
|
|
|
}
|
|
|
}
|
|
|
return businessClientCode;
|
...
|
...
|
|