|
@@ -47,8 +47,8 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
|
@@ -47,8 +47,8 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
47
|
@Value("${deposit.prestore}")
|
47
|
@Value("${deposit.prestore}")
|
48
|
private Double depositPreStore;
|
48
|
private Double depositPreStore;
|
49
|
|
49
|
|
50
|
- @Value("${deposit.earnestMoneyDepositLimit:100}")
|
|
|
51
|
- private BigDecimal earnestMoneyDepositLimit;
|
50
|
+ @Value("${deposit.earnest.money.limit:100}")
|
|
|
51
|
+ private BigDecimal depositEarnestMoneyLimit;
|
52
|
|
52
|
|
53
|
@Autowired
|
53
|
@Autowired
|
54
|
UfoServiceCaller ufoServiceCaller;
|
54
|
UfoServiceCaller ufoServiceCaller;
|
|
@@ -118,8 +118,8 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
|
@@ -118,8 +118,8 @@ public class StoredSellerDepositServiceImpl implements IStoredSellerDepositServi |
118
|
}
|
118
|
}
|
119
|
BigDecimal totalEarnestMoney = sw.getAmount();
|
119
|
BigDecimal totalEarnestMoney = sw.getAmount();
|
120
|
|
120
|
|
121
|
- if (totalEarnestMoney.add(amount).compareTo(earnestMoneyDepositLimit) > 0) {
|
|
|
122
|
- throw new UfoServiceException(400, "账户余额不能超过" + earnestMoneyDepositLimit);
|
121
|
+ if (totalEarnestMoney.add(amount).compareTo(depositEarnestMoneyLimit) > 0) {
|
|
|
122
|
+ throw new UfoServiceException(400, "账户余额不能超过" + depositEarnestMoneyLimit);
|
123
|
}
|
123
|
}
|
124
|
|
124
|
|
125
|
// 生成订单号
|
125
|
// 生成订单号
|