Commit 933549c5 by ping.wu

老优惠状态值转换错误修改

parent 73f9ee30
...@@ -53,14 +53,14 @@ public enum OrderAccountTypeV1 { ...@@ -53,14 +53,14 @@ public enum OrderAccountTypeV1 {
/** /**
* 获取V1 老订单状态值 * 获取V1 老优惠状态值
*/ */
public static Integer getOldCode(Integer v2Code) { public static Integer getOldCode(Integer v2Code) {
Integer v1Code = v2Code; Integer v1Code = v2Code;
if (v2Code == null ) return v1Code; if (v2Code == null ) return v1Code;
for (OrderStatusV1 value : OrderStatusV1.values()) { for (OrderAccountTypeV1 value : OrderAccountTypeV1.values()) {
if (value.getV2Code().equals(v2Code)) { if (value.getV2code().equals(v2Code)) {
v1Code = value.getV1Code(); v1Code = value.getV1code();
break; 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