Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ef2ad083
authored
Dec 04, 2020
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调用voucherDao
parent
2e8e4614
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
11 deletions
src/main/java/com/ctrip/fun/golf/domain/basic/Voucher.java
src/main/java/com/ctrip/fun/golf/service/order/EventActivityOrderService.java
src/main/java/com/ctrip/fun/golf/domain/basic/Voucher.java
View file @
ef2ad083
...
...
@@ -58,7 +58,7 @@ public class Voucher implements java.io.Serializable {
// 卷类型 1 -正常卷 2-体验卷需要身份证
private
Integer
voucherType
;
@Column
(
name
=
"voucherType"
)
public
Integer
getVoucherType
()
{
return
voucherType
;
}
...
...
src/main/java/com/ctrip/fun/golf/service/order/EventActivityOrderService.java
View file @
ef2ad083
...
...
@@ -14,6 +14,7 @@ import java.util.Set;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
com.ctrip.fun.common.core.util.BeanConverter
;
import
com.ctrip.fun.common.core.util.DateUtil
;
...
...
@@ -133,11 +134,9 @@ public class EventActivityOrderService extends
private
EventCustomerInfoService
eventCustomerInfoService
=
null
;
private
VoucherDao
voucherDao
=
null
;
@Autowired
private
VoucherDao
voucherDao
;
public
Order
findByResourceId
(
String
uid
,
int
resourceId
,
Date
playDate
)
{
List
<
EventActivityOrderItem
>
eventActivityOrderItemList
=
eventActivityOrderItemDao
...
...
@@ -1439,13 +1438,7 @@ public class EventActivityOrderService extends
}
}
}
public
VoucherDao
getVoucherDao
()
{
return
voucherDao
;
}
public
void
setVoucherDao
(
VoucherDao
voucherDao
)
{
this
.
voucherDao
=
voucherDao
;
}
public
ResourcePriceDao
getResourcePriceDao
()
{
return
resourcePriceDao
;
...
...
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