Commit e1dd0c82 by ping.wu

Merge branches 'feature/20211011_sdk转换错误修复_wuping' and 'qa' of…

Merge branches 'feature/20211011_sdk转换错误修复_wuping' and 'qa' of http://gitlab.freemud.com/order-group-application/order-group into qa
parents c805f0d1 933549c5
......@@ -53,14 +53,14 @@ public enum OrderAccountTypeV1 {
/**
* 获取V1 老订单状态值
* 获取V1 老优惠状态值
*/
public static Integer getOldCode(Integer v2Code) {
Integer v1Code = v2Code;
if (v2Code == null ) return v1Code;
for (OrderStatusV1 value : OrderStatusV1.values()) {
if (value.getV2Code().equals(v2Code)) {
v1Code = value.getV1Code();
for (OrderAccountTypeV1 value : OrderAccountTypeV1.values()) {
if (value.getV2code().equals(v2Code)) {
v1Code = value.getV1code();
break;
}
}
......
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