package com.ycl.platform.mapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.ycl.platform.domain.entity.Platform;
|
import com.ycl.platform.domain.query.PlatformQuery;
|
import com.ycl.platform.domain.vo.PlatformVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* 平台运行监控 Mapper 接口
|
*
|
* @author xp
|
* @since 2024-08-15
|
*/
|
@Mapper
|
public interface PlatformMapper extends BaseMapper<Platform> {
|
|
/**
|
* id查找平台运行监控
|
* @param id
|
* @return
|
*/
|
PlatformVO getById(Integer id);
|
|
/**
|
* 分页
|
*/
|
List<PlatformVO> getPage(@Param("query") PlatformQuery query);
|
|
}
|