...
|
...
|
@@ -529,7 +529,7 @@ public class SellerEnterApplyService { |
|
|
boolean notNotice = (Objects.isNull(noticeCnt= storedSellerCacheService.getNoticeCntWhenWalletNotEnough(uid)) || noticeCnt<1);
|
|
|
if (notNotice && walletNotEnough){
|
|
|
try {
|
|
|
logger.info("in changeLevel4Super send mail uid {} sellerBo {} noticeCnt {}",
|
|
|
logger.info("in processLargeSettlementSuperWhenWalletChange send mail uid {} sellerBo {} noticeCnt {}",
|
|
|
uid, sellerBo, noticeCnt);
|
|
|
String mailTo = configReader.getString("ufo.order.seller.noticeHKSellerEmailTo", "chao.chen@yoho.cn,xiuchun.luo@yoho.cn");
|
|
|
MailSender.newMailSender()
|
...
|
...
|
@@ -539,17 +539,19 @@ public class SellerEnterApplyService { |
|
|
.send();
|
|
|
storedSellerCacheService.setNoticeCntWhenWalletNotEnough(uid, 1);
|
|
|
}catch (Exception ex){
|
|
|
logger.warn("changeLevel4Super send mail fail, uid {} left wallet {}", uid, left, ex);
|
|
|
logger.warn("processLargeSettlementSuperWhenWalletChange send mail fail, uid {} left wallet {}", uid, left, ex);
|
|
|
}
|
|
|
}
|
|
|
logger.info("in changeLevel4Super uid {} sellerBo {} noticeCnt {}",
|
|
|
logger.info("in processLargeSettlementSuperWhenWalletChange uid {} sellerBo {} noticeCnt {}",
|
|
|
uid, sellerBo, noticeCnt);
|
|
|
|
|
|
//hidden sale product
|
|
|
boolean needHiddenPrds = bslfb.getLevel() == SuperEnterStageLevel.DISABLE.getCode()
|
|
|
&& bslfb.getWalletThreshold().compareTo(left) > 0;
|
|
|
boolean cancelHidden = bslfb.getLevel() != SuperEnterStageLevel.DISABLE.getCode()
|
|
|
&& bslfb.getWalletThreshold().compareTo(left) < 0;
|
|
|
&& BigDecimal.ZERO.compareTo(left) < 0;
|
|
|
logger.info("in processLargeSettlementSuperWhenWalletChange uid {} sellerBo {} needHiddenPrds {} cancelHidden {}",
|
|
|
uid, sellerBo, needHiddenPrds, cancelHidden);
|
|
|
EntrySellerType currentEST = sellerBo.getEntrySellerType();
|
|
|
if (needHiddenPrds || cancelHidden){
|
|
|
EntryLevelNode eln = buildEntryLevelNode(sellerWrapper, bslfb);
|
...
|
...
|
|