|
|
@@ -84,7 +84,7 @@ public class ConsumptionService {
|
|
|
Long orderId = attach.getLong("orderId");
|
|
|
Long userId = attach.getLong("userId");
|
|
|
String type = attach.getString("type");
|
|
|
- BigDecimal amount = attach.getBigDecimal("amount");
|
|
|
+ BigDecimal amount = BigDecimal.valueOf(notifyResult.getTotalFee() * 0.01);
|
|
|
String transactionId = notifyResult.getTransactionId();
|
|
|
|
|
|
wxFeeRepo.save(WxFee.builder()
|