...
|
...
|
@@ -569,7 +569,11 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
}
|
|
|
|
|
|
private SellerWallet changeEarnest(Integer uid, BigDecimal money, long orderCode, MerchantOrderAttachInfo attach, SellerWalletDetail.Type type) {
|
|
|
|
|
|
BigDecimal money2 = money.setScale(2, BigDecimal.ROUND_HALF_UP);
|
|
|
if (money2.compareTo(money) != 0) {
|
|
|
logger.warn("{}修改钱包表入口,uid={},金额超出两位小数(自动截取) money={}, money2={}", type.getName(), uid, money, money2);
|
|
|
money = money2;
|
|
|
}
|
|
|
logger.info("{}修改钱包表入口,uid={},money={}", type.getName(), uid, money);
|
|
|
String message = type.getName();
|
|
|
// 使用钱包余额,支付保证金
|
...
|
...
|
|