| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.webmanage.common.PageResult; |
| | | import com.webmanage.dto.AddPointsFlowDTO; |
| | | import com.webmanage.dto.DeductUserPointsDTO; |
| | | import com.webmanage.dto.PointsFlowQueryDTO; |
| | | import com.webmanage.entity.PointsFlow; |
| | | import com.webmanage.entity.UserPoints; |
| | |
| | | boolean addPointsFlowByRule(AddPointsFlowDTO addPointsFlowDTO); |
| | | |
| | | /** |
| | | * 扣减用户积分 |
| | | */ |
| | | boolean deductUserPoints(DeductUserPointsDTO deductDTO); |
| | | |
| | | /** |
| | | * 获取用户积分统计 |
| | | */ |
| | | UserPoints getUserPointsTotal(String userId); |