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<GasWarnInfo> {
|
|
List<GasWarnInfo> selectDataGrid(@Param("page") Page<GasWarnInfo> page,@Param("condition") Map<String, Object> 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);
|
}
|