修改充值时插入充值记录
This commit is contained in:
@@ -127,12 +127,11 @@ public class AppController {
|
||||
//插入虚拟币消费记录
|
||||
transactionDetailsService.rechargeRecord(userEntity,realMoney,order.getId(),"苹果",order.getOrderid());
|
||||
//插入花生币充值记录
|
||||
payPaymentOrderService.insertDetail(userEntity,bookBuyConfigEntity,Integer.parseInt(order.getTransactionId()));
|
||||
payPaymentOrderService.insertDetail(userEntity,bookBuyConfigEntity,order.getTransactionId());
|
||||
buyOrderService.updateOrderStatus(Integer.valueOf(customerid), dto.getOrderId(), "2");
|
||||
order.setMoney(Integer.valueOf(bookBuyConfigEntity.getRealMoney()));
|
||||
order.setUsername(userEntity.getName());
|
||||
orderService.saveOrUpdate(order);
|
||||
orderService.update();
|
||||
return Result.ok0();
|
||||
}else {
|
||||
return Result.nook(500,"订单id错误或者商品id");
|
||||
|
||||
Reference in New Issue
Block a user