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
66e68813
Commit
66e68813
authored
Jan 08, 2021
by
hanghang.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
蜜雪新增虚拟业务买券
parent
0163d40a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
0 deletions
+56
-0
order-application-service/src/main/java/cn/freemud/entities/vo/AppCreateOrderVo.java
+14
-0
order-application-service/src/main/java/cn/freemud/enums/BizTypeEnum.java
+42
-0
order-application-service/src/main/java/cn/freemud/service/impl/AppOrderServiceImpl.java
+0
-0
order-application-service/src/main/java/cn/freemud/service/impl/OrderAdapterServiceImpl.java
+0
-0
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
+0
-0
No files found.
order-application-service/src/main/java/cn/freemud/entities/vo/AppCreateOrderVo.java
View file @
66e68813
...
...
@@ -76,4 +76,18 @@ public class AppCreateOrderVo {
* 下单渠道 版本号
*/
private
String
version
;
//20210107蜜雪新增APP购买虚拟商品(券)业务--》》新增以下字段 bizType skuId --wanghanghang
/**
* 代表蜜雪APP买虚拟商品(买券)业务标识
*/
private
Integer
bizType
;
/**
* 此字段只针对蜜雪冰城APP下单购买虚拟券时使用,其他商品请入参orderProducts字段
*/
private
String
skuId
;
}
order-application-service/src/main/java/cn/freemud/enums/BizTypeEnum.java
0 → 100644
View file @
66e68813
package
cn
.
freemud
.
enums
;
public
enum
BizTypeEnum
{
APP_COUPON
(
6
,
"APP买券"
),
APP_PRO
(
1
,
"未知(目前暂不支持),后续可能预留给正常商品"
);
private
Integer
bizType
;
private
String
desc
;
BizTypeEnum
(
Integer
bizType
,
String
desc
)
{
this
.
bizType
=
bizType
;
this
.
desc
=
desc
;
}
public
static
cn
.
freemud
.
enums
.
BizTypeEnum
getByCode
(
Integer
code
)
{
for
(
cn
.
freemud
.
enums
.
BizTypeEnum
payType
:
values
())
{
if
(
payType
.
getBizType
().
equals
(
code
))
{
return
payType
;
}
}
return
null
;
}
public
Integer
getBizType
()
{
return
bizType
;
}
public
void
setBizType
(
Integer
bizType
)
{
this
.
bizType
=
bizType
;
}
public
String
getDesc
()
{
return
desc
;
}
public
void
setDesc
(
String
desc
)
{
this
.
desc
=
desc
;
}
}
\ No newline at end of file
order-application-service/src/main/java/cn/freemud/service/impl/AppOrderServiceImpl.java
View file @
66e68813
This diff is collapsed.
Click to expand it.
order-application-service/src/main/java/cn/freemud/service/impl/OrderAdapterServiceImpl.java
View file @
66e68813
This diff is collapsed.
Click to expand it.
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
View file @
66e68813
This diff is collapsed.
Click to expand it.
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