|
|
@@ -4792,7 +4792,7 @@ public class OrderDonServiceImpl extends ServiceImpl<OrderDonMapper, OrderDon> i
|
|
|
if (upgradeSku.getClaudeQuota().intValue() < relationPresentSku.getClaudeQuota().intValue()) {
|
|
|
throw BusinessRuntimeException.getInstance("无法抵扣升级该规格");
|
|
|
}
|
|
|
- BigDecimal deductMoney = claudeCodeService.getDeductMoney(relationId, relationView.getSkuId(), claudeCodeUser.getRenewOrderId(), claudeCodeUser.getRenewOrderId(), claudeCodeUser.getRenewExpiryTime(), relationView.getStartTime(), relationView.getExpiryTime(), DateTime.now(), userIdList);
|
|
|
+ BigDecimal deductMoney = claudeCodeService.getDeductMoney(relationId, relationView.getSkuId(), claudeCodeUser.getRenewSkuId(), claudeCodeUser.getRenewOrderId(), claudeCodeUser.getRenewExpiryTime(), relationView.getStartTime(), relationView.getExpiryTime(), DateTime.now(), userIdList);
|
|
|
//订单
|
|
|
OrderDon orderDon = new OrderDon();
|
|
|
orderDon.setUserId(userId);
|