package com.ym.mec.biz.dal.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ym.mec.biz.dal.entity.PlatformServe;
import com.ym.mec.biz.dal.vo.PlatformServeInfoVo;
import org.apache.ibatis.annotations.Param;

public interface PlatformServeDao extends BaseMapper<PlatformServe> {

    PlatformServe selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlatformServe record);

    int insert(PlatformServe record);

    <T> IPage<T> queryPage(Page<T> page, @Param("search") String search, @Param("id") Integer id);

    <T> T queryPage(@Param("search") String search, @Param("id") Integer id);

    PlatformServeInfoVo queryInfo(Integer id);
}