package com.zhgd.xmgl.modules.basicdata.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhgd.xmgl.modules.basicdata.entity.AiMonitorQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: AI预警整改记录
 * @author： pengj
 * @date：   2023-03-04
 * @version： V1.0
 */
@Mapper
public interface AiMonitorQuestionMapper extends BaseMapper<AiMonitorQuestion> {

    Integer getCountByStateForEng(String engineeringSn, Integer state);

    Integer getCountByStateForPro(String projectSn, Integer state);

    Page<AiMonitorQuestion> getPageList(Page page, @Param(Constants.WRAPPER) Wrapper<AiMonitorQuestion> wrapper);
}
