This commit is contained in:
dute7liang
2023-12-31 16:09:56 +08:00
parent d1a59f2d4a
commit 0c1fc3cada
230 changed files with 662 additions and 580 deletions

View File

@@ -0,0 +1,28 @@
package com.ruoyi.cai.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.cai.domain.GuardTotal;
import com.ruoyi.cai.dto.app.dto.GuardTotalDTO;
import com.ruoyi.cai.dto.app.vo.index.GuardListPageVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 守护用户累计Mapper接口
*
* @author 77
* @date 2023-12-23
*/
public interface GuardTotalMapper extends BaseMapper<GuardTotal> {
List<GuardTotalDTO> selectGuardTotal(@Param("fromUserId") Long fromUserId, @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);
Page<GuardListPageVo> userGuardPage(@Param("build") Page<Object> build, @Param("userId") Long userId);
}