| | |
| | | |
| | | /** |
| | | * 查询用户某个时间段交易数量 |
| | | * @param integralCountDTO 请求参数 |
| | | * |
| | | * @param integralCountDTO |
| | | * 请求参数 |
| | | * @return 交易数量 |
| | | */ |
| | | Integer getIntegralCount(ComActIntegralCountDTO integralCountDTO); |
| | | |
| | | /** |
| | | * 添加用户积分交易记录 |
| | | * @param userId 用户id |
| | | * @param integralId 积分账户id |
| | | * @param communityId 社区id |
| | | * @param serviceId 交易业务id |
| | | * @param serviceType 交易业务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷) |
| | | * @param amount 交易积分数量 |
| | | * @param changeType 变动类型(1.增加 2.减少) |
| | | * @param remark 交易备注 |
| | | * @param identityType 交易身份类型(1.居民 2.党员 3.志愿者) |
| | | * @param createBy 操作人id |
| | | * |
| | | * @param userId |
| | | * 用户id |
| | | * @param integralId |
| | | * 积分账户id |
| | | * @param communityId |
| | | * 社区id |
| | | * @param serviceId |
| | | * 交易业务id |
| | | * @param serviceType |
| | | * 交易业务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷) |
| | | * @param amount |
| | | * 交易积分数量 |
| | | * @param changeType |
| | | * 变动类型(1.增加 2.减少) |
| | | * @param remark |
| | | * 交易备注 |
| | | * @param identityType |
| | | * 交易身份类型(1.居民 2.党员 3.志愿者) |
| | | * @param createBy |
| | | * 操作人id |
| | | */ |
| | | Long addIntegralTradeRecord(Long userId,Long integralId,Long communityId,Long serviceId |
| | | ,Integer serviceType,Integer amount,Integer changeType,String remark,Integer identityType,Long createBy); |
| | | Long addIntegralTradeRecord(Long userId, Long integralId, Long communityId, Long serviceId, Integer serviceType, |
| | | Integer amount, Integer changeType, String remark, Integer identityType, Long createBy); |
| | | |
| | | /** |
| | | * 小程序-查询用户社区积分明细 |
| | | * @param communityTradeDTO 请求参数 |
| | | * |
| | | * @param communityTradeDTO |
| | | * 请求参数 |
| | | * @return 用户社区积分明细 |
| | | */ |
| | | R getIntegralCommunityTradeApplets(ComActIntegralCommunityRankDTO communityTradeDTO); |
| | | |
| | | /** |
| | | * 社区后台-分页查询社区下积分明细记录 |
| | | * @param integralRuleDTO 请求参数 |
| | | * |
| | | * @param integralRuleDTO |
| | | * 请求参数 |
| | | * @return 社区下积分明细记录 |
| | | */ |
| | | R getIntegralTradeListAdmin(PageComActIntegralTradeDTO integralRuleDTO); |
| | | |
| | | /** |
| | | * 给用户添加积分 |
| | | * @param integralUserDTO 请求参数 |
| | | * |
| | | * @param integralUserDTO |
| | | * 请求参数 |
| | | * @return 添加积分结果 |
| | | */ |
| | | R addIntegralTradeAdmin(AddComActIntegralUserDTO integralUserDTO); |