Commit fa493b42 by ping.wu

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

parent 8e946b27
......@@ -100,4 +100,5 @@
| 1.3.66.RELEASE | 基础订单sdk版本升级 | 伍平 | 2021-08-10 |
| 1.3.67.RELEASE | 新增爱马哥需求代码改动 | 周晓航 | 2021-08-23 |
| 1.3.68.RELEASE | 新增维护商品类型同步商品服务 | 周晓航 | 2021-09-03 |
| 1.3.69.RELEASE | 升级sdk | 伍平 | 2021-09-16 |
\ No newline at end of file
| 1.3.69.RELEASE | 升级sdk | 伍平 | 2021-09-16 |
| 1.3.70.RELEASE | 升级sdk | 伍平 | 2021-10-11 |
\ No newline at end of file
......@@ -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