| | |
| | | if (mallGoods.getIsNormal() == 2) { |
| | | hasTc = true; |
| | | score = sku.getPresentPrice().multiply(mallGoods.getStaticMulti()); |
| | | |
| | | // 普通商品1:1 返还积分 |
| | | } else { |
| | | if (!AgentLevelEnum.ZERO_LEVEL.name().equals(member.getLevel())) { |
| | | score = sku.getPresentPrice(); |
| | | } |
| | | } |
| | | |
| | | if (score.compareTo(BigDecimal.ZERO) > 0) { |
| | | memberWalletService.add(score, member.getId(), "score"); |
| | | mallMoneyFlowService.addMoneyFlow(member.getId(), score, MoneyFlowTypeEnum.STATIC_BONUS.getValue(), orderInfo.getOrderNo(), FlowTypeEnum.SCORE.getValue()); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |