| | |
| | | import com.webmanage.dto.AddPointsFlowDTO; |
| | | import com.webmanage.dto.PointsFlowQueryDTO; |
| | | import com.webmanage.entity.PointsFlow; |
| | | import com.webmanage.entity.UserPoints; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | List<PointsFlow> getPointsFlowByUnitId(Long unitId); |
| | | |
| | | /** |
| | | * 记录积分流水 |
| | | */ |
| | | boolean recordPointsFlow(Long userId, Long unitId, String flowType, String pointsSource, |
| | | Integer pointsValue, String orderId, String description); |
| | | |
| | | /** |
| | | * 新增积分流水(根据规则自动计算) |
| | |
| | | /** |
| | | * 获取用户积分统计 |
| | | */ |
| | | Integer getUserPointsTotal(Long userId); |
| | | UserPoints getUserPointsTotal(Long userId); |
| | | |
| | | /** |
| | | * 获取单位积分统计 |
| | | */ |
| | | Integer getUnitPointsTotal(Long unitId); |
| | | UserPoints getUnitPointsTotal(Long unitId); |
| | | |
| | | /** |
| | | * 获取积分流水数据类目列表 |
| | | */ |
| | | List<String> getPointsFlowCategories(); |
| | | } |