| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface MallMemberWalletMapper extends BaseMapper<MallMemberWallet> { |
| | | |
| | |
| | | BigDecimal selectSumPrizeScore(); |
| | | |
| | | BigDecimal selectSumCommission(); |
| | | |
| | | List<MallMemberWallet> selectMemberWalletsByIds(@Param("list")List<Long> ids); |
| | | |
| | | int updateStarByList(@Param("list")List<Map<String, Object>> result); |
| | | |
| | | int updateTotalScoreByList(@Param("list")List<Map<String, Object>> resultReduce); |
| | | |
| | | void reduceTotalScoreById(@Param("totalScore")BigDecimal sharePerkAmount, @Param("id")Long id); |
| | | |
| | | void addBalanceById(@Param("balance")BigDecimal sharePerkAmount, @Param("id")Long id); |
| | | |
| | | void addStarByMemberId(@Param("star")Integer starSum, @Param("memberId")Long memberId); |
| | | |
| | | void reduceStarByMemberId(@Param("star")int i, @Param("memberId")Long memberId); |
| | | |
| | | void addVorCherCntByMemberId(@Param("voucherCnt")BigDecimal voucherCnt, @Param("memberId")Long memberId); |
| | | |
| | | BigDecimal selectSumStar(); |
| | | |
| | | List<MallMemberWallet> selectStar(); |
| | | |
| | | void addVorCherAmountAndCntById(@Param("voucherAmount")BigDecimal voucherAmountAdd,@Param("voucherCnt")BigDecimal voucherCnt, @Param("id")Long id); |
| | | |
| | | void addVorCherFireCntByMemberId(@Param("voucherFireCnt")BigDecimal voucherFireCnt, @Param("memberId")Long memberId); |
| | | } |