package com.gk.hotwork.Mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.gk.hotwork.Domain.GasWarnInfo; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Repository public interface GasWarnInfoMapper extends BaseMapper { List selectDataGrid(Page page, Map condition); GasWarnInfo selectExistByType(@Param("id") Long id,@Param("warntype") String warntype,@Param("gastype") String gastype); GasWarnInfo selectByType(@Param("gastype") String gastype,@Param("warntype") String warntype); }