init
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user