...
|
...
|
@@ -79,19 +79,14 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
@Autowired
|
|
|
UfoServiceCaller ufoServiceCaller;
|
|
|
|
|
|
//@Value("${order.seller.tip.publishMoneyTip:保证金余额不足}")
|
|
|
private String publishMoneyTip = "保证金余额不足 ¥";
|
|
|
|
|
|
//@Value("${order.seller.tip.publishFunctionTip:请充值后进行正常上架/下架}")
|
|
|
private String publishFunctionTip = "请充值后进行正常上架";
|
|
|
|
|
|
//@Value("${order.seller.tip.canSaleMoneyTip:保证金余额低于}")
|
|
|
private String canSaleMoneyTip = "保证金余额不足 ¥";
|
|
|
|
|
|
//@Value("${order.seller.tip.canSaleFunctionTip:平台下架您所有出售中的商品}")
|
|
|
private String canSaleFunctionTip = "上架所有商品将会被强制隐藏,不会给用户展示";
|
|
|
|
|
|
//@Value("${order.seller.tip.recoverTip:充值 ¥{} 恢复超级商家权限}")
|
|
|
private String recoverTip = "充值 ¥{} 恢复超级商家权限";
|
|
|
|
|
|
private String saleListLowMoneyTip = "您的保证金余额不足,出售中商品将会被强制隐藏,不会给用户展示";
|
...
|
...
|
@@ -102,7 +97,6 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
/**
|
|
|
* 瑕疵确认不通过的情况,卖家的保证金扣掉一部分给平台,暂定0元
|
|
|
*/
|
|
|
//@Value("${order.seller.earnestmoney.miniFaultRejectPunishFee:0}")
|
|
|
private Double miniFaultRejectPunishFee = 0D ;
|
|
|
|
|
|
|
...
|
...
|
@@ -520,9 +514,11 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { |
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
JSONObject result = new JSONObject();
|
|
|
BigDecimal allMoney = sw.getAmount().add(sw.getLockAmount());
|
|
|
|
|
|
|
|
|
SellerWrapper sellerWrapper = sellerService.getBaseSellerWrapper(uid);
|
|
|
SellerBo sellerBo = sellerWrapper.buildSellerBo();
|
|
|
Map<EntrySellerType, EntryThreshold> map = sellerService.getEntryThreshold();
|
|
|
EntryThreshold sp = map.get(EntrySellerType.SUPER_ENTRY);
|
|
|
EntryThreshold sp = map.get(sellerBo.getEntrySellerType());
|
|
|
// 查配置、超级卖家门槛金额
|
|
|
BigDecimal superMoney = sp.getPrepaymentAmount();
|
|
|
BigDecimal lackOfMoneyAsSuper = BigDecimal.ZERO;
|
...
|
...
|
|