Commit be41738c by xiaoer.li@freemud.com

增加注释

parent 6332ce1e
...@@ -1277,16 +1277,37 @@ public class OrderSdkAdapter { ...@@ -1277,16 +1277,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