SmartRelationMapper.java 985 B

1234567891011121314151617181920212223242526272829
  1. package com.template.mapper;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
  4. import com.template.model.pojo.SmartRelation;
  5. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  6. import com.template.model.vo.SmartRelationAppVo;
  7. import com.template.model.vo.SmartRelationVo;
  8. import org.apache.ibatis.annotations.Param;
  9. import org.springframework.stereotype.Repository;
  10. import java.util.List;
  11. /**
  12. * <p>
  13. * Mapper 接口
  14. * </p>
  15. *
  16. * @author ceshi
  17. * @since 2024-06-28
  18. */
  19. @Repository
  20. public interface SmartRelationMapper extends BaseMapper<SmartRelation> {
  21. IPage<SmartRelationVo> getList(Page<SmartRelationVo> page, @Param("userId") Integer userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
  22. IPage<SmartRelationAppVo> getAppList(Page<SmartRelationAppVo> page, @Param("userId") Integer userId, @Param("startTime") String startTime, @Param("endTime") String endTime);
  23. }