package com.webmanage.service; import com.baomidou.mybatisplus.extension.service.IService; import com.webmanage.vo.PointsStatsVO; /** * 用户积分Service接口 * * @author webmanage * @date 2024-08-07 */ public interface UserPointsService extends IService { /** * 获取个人积分统计 */ PointsStatsVO getPersonalPointsStats(Long userId); /** * 获取单位积分统计 */ PointsStatsVO getUnitPointsStats(Long unitId); /** * 更新用户积分 */ void updateUserPoints(Long userId, Long unitId, Integer points); }