This commit is contained in:
dute7liang
2023-12-31 18:40:42 +08:00
parent 0c1fc3cada
commit d85e855cbc
15 changed files with 257 additions and 32 deletions

View File

@@ -17,12 +17,12 @@ import java.util.List;
*/
public interface GuardTotalMapper extends BaseMapper<GuardTotal> {
List<GuardTotalDTO> selectGuardTotal(@Param("fromUserId") Long fromUserId, @Param("limit") Integer limit);
List<GuardTotalDTO> selectGuardTotal(@Param("toUserId") Long toUserId, @Param("limit") Integer limit);
void incs(@Param("fromUserId") Long fromUserId, @Param("toUserId") Long toUserId, @Param("guardNum") Long guardNum, @Param("guardValue") Long guardValue);
Long guardCount(@Param("fromUserId") Long fromUserId);
Long guardPersonCount(@Param("fromUserId") Long fromUserId);
Long guardCount(@Param("toUserId") Long toUserId);
Long guardPersonCount(@Param("toUserId") Long toUserId);
Page<GuardListPageVo> userGuardPage(@Param("build") Page<Object> build, @Param("userId") Long userId);
Page<GuardListPageVo> userGuardPage(@Param("build") Page<Object> build, @Param("toUserId") Long toUserId);
}

View File

@@ -18,4 +18,5 @@ public interface UserGiftMapper extends BaseMapper<UserGift> {
List<UserGiftIndexVo> selectGiftList(@Param("userId") Long userId);
long countGiftNum(@Param("fromUid") Long fromUid, @Param("toUid") Long toUid);
}