| | |
| | | starSum, |
| | | MoneyFlowTypeEnum.STAR.getValue(), |
| | | orderInfo.getOrderNo(), |
| | | FlowTypeEnum.STAR.getValue()); |
| | | FlowTypeEnum.STAR.getValue(), |
| | | 2); |
| | | } |
| | | if(starGet.compareTo(star) > 0){ |
| | | BigDecimal subtract = starGet.subtract(star); |
| | |
| | | starSum, |
| | | MoneyFlowTypeEnum.STAR.getValue(), |
| | | orderInfo.getOrderNo(), |
| | | FlowTypeEnum.STAR.getValue()); |
| | | FlowTypeEnum.STAR.getValue(), |
| | | 2); |
| | | } |
| | | }else{ |
| | | mallMemberWalletMapper.addStarByMemberId(starSum.intValue(), memberId); |
| | |
| | | starSum, |
| | | MoneyFlowTypeEnum.STAR.getValue(), |
| | | orderInfo.getOrderNo(), |
| | | FlowTypeEnum.STAR.getValue()); |
| | | FlowTypeEnum.STAR.getValue(), |
| | | 2); |
| | | } |
| | | } |
| | | } |
| | |
| | | scoreSum, |
| | | MoneyFlowTypeEnum.TOTAL_SCORE.getValue(), |
| | | orderInfo.getOrderNo(), |
| | | FlowTypeEnum.TOTAL_SCORE.getValue()); |
| | | "", |
| | | scoreSum.toString(), |
| | | memberId, |
| | | 1, |
| | | FlowTypeEnum.TOTAL_SCORE.getValue(), |
| | | 2); |
| | | } |
| | | } |
| | | |