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
afd42a8d
authored
Apr 01, 2019
by
zhangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.测试
parent
0a2d38f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
View file @
afd42a8d
...
...
@@ -2,6 +2,7 @@
* Copyright 2014 CTRIP Co.,Ltd. All rights reserved.
*/
package
com
.
ctrip
.
fun
.
golf
.
service
.
payment
;
import
java.math.BigDecimal
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -99,6 +100,8 @@ public class CommuneNotifyService extends AbstractNotifyService {
Order
order
=
this
.
getOrderDao
().
getOrderByOrderNo
(
Long
.
parseLong
(
ordersSn
));
CommuneOrderItem
communeOrderItem
=
communeOrderItemDao
.
getByOrderId
(
order
.
getOrderId
()).
get
(
0
);
BuyVoucherActivity
buyVoucherActivity
=
buyVoucherActivityDao
.
findById
(
communeOrderItem
.
getActivityId
());
buyVoucherActivity
.
setIsSendRedPacket
(
1
);
buyVoucherActivity
.
setRedPacketPrice
(
new
BigDecimal
(
1
));
try
{
this
.
getOrderDao
().
updateOrderStatusForMiniApps
(
Long
.
parseLong
(
ordersSn
));
}
catch
(
Exception
e
)
{
...
...
@@ -218,4 +221,11 @@ public class CommuneNotifyService extends AbstractNotifyService {
public
void
setCommuneInviteActivityService
(
CommuneInviteActivityService
communeInviteActivityService
)
{
this
.
communeInviteActivityService
=
communeInviteActivityService
;
}
public
String
test
()
{
BuyVoucherActivity
buyVoucherActivity
=
buyVoucherActivityDao
.
findById
(
22
);
BuyVoucherActivity
buyVoucherActivity2
=
buyVoucherActivityDao
.
findById1
(
22
);
return
null
;
}
}
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