Commit 418b4173 by xiaoer.li@freemud.com

Merge remote-tracking branch 'remotes/origin/feature/1.9.34-增加订单渠道口碑等' into develop

parents b9bd1343 be41738c
...@@ -1284,16 +1284,37 @@ public class OrderSdkAdapter { ...@@ -1284,16 +1284,37 @@ public class OrderSdkAdapter {
return typeList; return typeList;
} }
/**
* 字符串渠道码转对应数字类型渠道码
* saas->2
*
* @param name
* @return
*/
public Integer getNewOrderClient(String name) { public Integer getNewOrderClient(String name) {
Integer clientType = OrderSourceType.getClientByCode(name); Integer clientType = OrderSourceType.getClientByCode(name);
return clientType; return clientType;
} }
/**
* 数字类型渠道码转字符类型渠道码
* 2->saas
*
* @param orderClientType
* @return
*/
public String getOldSource(Integer orderClientType) { public String getOldSource(Integer orderClientType) {
String name = OrderSourceType.getCodeByClientType(orderClientType); String name = OrderSourceType.getCodeByClientType(orderClientType);
return name; return name;
} }
/**
* 数字类型渠道码转字符类型渠道码注释
* 2-> saas 点餐
*
* @param orderClientType
* @return
*/
public String getOldSourceName(Integer orderClientType) { public String getOldSourceName(Integer orderClientType) {
String name = OrderSourceType.getDescByClientType(orderClientType); String name = OrderSourceType.getDescByClientType(orderClientType);
return name; return name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment