Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
933549c5
Commit
933549c5
authored
Oct 11, 2021
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老优惠状态值转换错误修改
parent
73f9ee30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/orderv1/OrderAccountTypeV1.java
+4
-4
No files found.
ordercenter-sdk/src/main/java/com/freemud/application/sdk/api/ordercenter/enums/orderv1/OrderAccountTypeV1.java
View file @
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
(
Order
StatusV1
value
:
OrderStatus
V1
.
values
())
{
if
(
value
.
getV2
C
ode
().
equals
(
v2Code
))
{
v1Code
=
value
.
getV1
C
ode
();
for
(
Order
AccountTypeV1
value
:
OrderAccountType
V1
.
values
())
{
if
(
value
.
getV2
c
ode
().
equals
(
v2Code
))
{
v1Code
=
value
.
getV1
c
ode
();
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment