Commit 5e2dfe8b by 吕明尚

Merge branch 'dev' into test

parents c43f9d99 dfb44892
...@@ -333,7 +333,7 @@ public class RedisTask { ...@@ -333,7 +333,7 @@ public class RedisTask {
redisUtil.delete(o); redisUtil.delete(o);
throw new BaseException("订单不存在!"); throw new BaseException("订单不存在!");
} }
//权益返利活动
equityFundExcessService.extracted(sOrder); equityFundExcessService.extracted(sOrder);
if (extracted(o, sOrders, sOrder)) return; if (extracted(o, sOrders, sOrder)) return;
//更改订单状态 //更改订单状态
...@@ -686,7 +686,7 @@ public class RedisTask { ...@@ -686,7 +686,7 @@ public class RedisTask {
if (CollectionUtil.isNotEmpty(ids)){ if (CollectionUtil.isNotEmpty(ids)){
equityFundExcessService.removeByIds(ids); equityFundExcessService.removeByIds(ids);
} }
logger.debug("AutoProgressLog:权益金增加结束"); logger.debug("AutoEquityFundExcess:权益金增加结束");
} }
......
...@@ -637,7 +637,7 @@ public class CallbackServiceImpl implements CallbackService { ...@@ -637,7 +637,7 @@ public class CallbackServiceImpl implements CallbackService {
logger.error("微信支付回调出错"); logger.error("微信支付回调出错");
logger.error(e.toString()); logger.error(e.toString());
} }
logger.debug("结束权益会员订单回调"); logger.debug("结束次卡订单回调");
if (!secondaryCardBoolean) { if (!secondaryCardBoolean) {
logger.error("saobei wechat pay error : 订单更新失败==》" + param.getTerminal_trace()); logger.error("saobei wechat pay error : 订单更新失败==》" + param.getTerminal_trace());
responseVo.setReturn_code(SaobeiStatusEnum.FAIL.getCode()); responseVo.setReturn_code(SaobeiStatusEnum.FAIL.getCode());
...@@ -715,7 +715,7 @@ public class CallbackServiceImpl implements CallbackService { ...@@ -715,7 +715,7 @@ public class CallbackServiceImpl implements CallbackService {
logger.error("微信支付回调出错"); logger.error("微信支付回调出错");
logger.error(e.toString()); logger.error(e.toString());
} }
logger.debug("结束权益会员订单回调"); logger.debug("结束月卡订单回调");
if (!monthlyCardBoolean) { if (!monthlyCardBoolean) {
logger.error("saobei wechat pay error : 订单更新失败==》" + param.getTerminal_trace()); logger.error("saobei wechat pay error : 订单更新失败==》" + param.getTerminal_trace());
responseVo.setReturn_code(SaobeiStatusEnum.FAIL.getCode()); responseVo.setReturn_code(SaobeiStatusEnum.FAIL.getCode());
......
...@@ -159,6 +159,7 @@ public class MonthlyCardOrderServiceImpl extends ServiceImpl<MonthlyCardOrderMap ...@@ -159,6 +159,7 @@ public class MonthlyCardOrderServiceImpl extends ServiceImpl<MonthlyCardOrderMap
@Override @Override
public void paymentSuccessful(MonthlyCardOrder monthlyCardOrder) { public void paymentSuccessful(MonthlyCardOrder monthlyCardOrder) {
updateById(monthlyCardOrder);
ConsumerMonthlyCard consumerMonthlyCard = new ConsumerMonthlyCard(); ConsumerMonthlyCard consumerMonthlyCard = new ConsumerMonthlyCard();
MonthlyCardConf byId = monthlyCardConfService.getById(monthlyCardOrder.getMonthlyCardConfId()); MonthlyCardConf byId = monthlyCardConfService.getById(monthlyCardOrder.getMonthlyCardConfId());
consumerMonthlyCard.setMonthlyCardConfId(byId.getId()); consumerMonthlyCard.setMonthlyCardConfId(byId.getId());
......
...@@ -149,6 +149,7 @@ public class SecondaryCardOrderServiceImpl extends ServiceImpl<SecondaryCardOrde ...@@ -149,6 +149,7 @@ public class SecondaryCardOrderServiceImpl extends ServiceImpl<SecondaryCardOrde
@Override @Override
public void paymentSuccessful(SecondaryCardOrder secondaryCardOrder) { public void paymentSuccessful(SecondaryCardOrder secondaryCardOrder) {
updateById(secondaryCardOrder);
ConsumerSecondaryCard consumerSecondaryCard = new ConsumerSecondaryCard(); ConsumerSecondaryCard consumerSecondaryCard = new ConsumerSecondaryCard();
SecondaryCardConf secondaryCardConf = secondaryCardConfService.getById(secondaryCardOrder.getSecondaryCardConfId()); SecondaryCardConf secondaryCardConf = secondaryCardConfService.getById(secondaryCardOrder.getSecondaryCardConfId());
consumerSecondaryCard.setSecondaryCardConfId(secondaryCardOrder.getSecondaryCardConfId()); consumerSecondaryCard.setSecondaryCardConfId(secondaryCardOrder.getSecondaryCardConfId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment