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
2af75632
authored
Aug 08, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新社员订单状态
parent
a4c21c14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
src/main/java/com/ctrip/fun/golf/dao/order/OrderDao.java
View file @
2af75632
...
@@ -858,8 +858,8 @@ public class OrderDao extends GenericHibernateDao<Order, Integer> {
...
@@ -858,8 +858,8 @@ public class OrderDao extends GenericHibernateDao<Order, Integer> {
*
*
* @param orderIdList
* @param orderIdList
*/
*/
public
void
updateOrderStatusForMiniApps
(
Stri
ng
ordersSn
)
{
public
void
updateOrderStatusForMiniApps
(
Lo
ng
ordersSn
)
{
if
(
ordersSn
==
null
||
""
.
equals
(
ordersSn
)
)
{
if
(
ordersSn
==
null
)
{
return
;
return
;
}
}
Query
query
=
this
.
getSession
().
createQuery
(
"Update Order set orderType = 1,processStatus=20 where orderNo=:orderNo"
);
Query
query
=
this
.
getSession
().
createQuery
(
"Update Order set orderType = 1,processStatus=20 where orderNo=:orderNo"
);
...
...
src/main/java/com/ctrip/fun/golf/service/payment/CommuneNotifyService.java
View file @
2af75632
...
@@ -36,7 +36,7 @@ public class CommuneNotifyService extends AbstractNotifyService {
...
@@ -36,7 +36,7 @@ public class CommuneNotifyService extends AbstractNotifyService {
//根据订单号查询订单,修改订单相关信息
//根据订单号查询订单,修改订单相关信息
Order
order
=
this
.
getOrderDao
().
getOrderByOrderNo
(
Long
.
parseLong
(
ordersSn
));
Order
order
=
this
.
getOrderDao
().
getOrderByOrderNo
(
Long
.
parseLong
(
ordersSn
));
try
{
try
{
this
.
getOrderDao
().
updateOrderStatusForMiniApps
(
ordersSn
);
this
.
getOrderDao
().
updateOrderStatusForMiniApps
(
Long
.
parseLong
(
ordersSn
)
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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