mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 查询运营商VIP
This commit is contained in:
@@ -534,7 +534,13 @@ public class MemberBasicInfoServiceImpl implements IMemberBasicInfoService {
|
||||
List<String> merchantIdList = merchantInfoVOList.stream()
|
||||
.map(MerchantInfoVO::getMerchantId).collect(Collectors.toList());
|
||||
List<MerchantVipVO> resultList = memberBasicInfoMapper.queryMerchantVipList(merchantIdList, dto);
|
||||
|
||||
if (CollectionUtils.isNotEmpty(resultList)) {
|
||||
for (MerchantVipVO merchantVipVO : resultList) {
|
||||
BigDecimal principalBalance = merchantVipVO.getPrincipalBalance() == null ? BigDecimal.ZERO : merchantVipVO.getPrincipalBalance();
|
||||
BigDecimal giftBalance = merchantVipVO.getGiftBalance() == null ? BigDecimal.ZERO : merchantVipVO.getGiftBalance();
|
||||
merchantVipVO.setTotalAccountAmount(principalBalance.add(giftBalance));
|
||||
}
|
||||
}
|
||||
return resultList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user