package com.zcloud.fire.check.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zcloud.fire.check.persistence.dataobject.DataStatisticDO;
import com.zcloud.fire.check.persistence.dataobject.FireCheckRecordDO;
import com.zcloud.fire.check.persistence.dataobject.FireCheckRecordStatisticDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2025-12-12 11:10:58
 */
@Mapper
public interface FireCheckRecordMapper extends BaseMapper<FireCheckRecordDO> {

    IPage<FireCheckRecordDO> getCheckRecordList(IPage<FireCheckRecordDO> iPage, Map<String, Object> params);

    List<FireCheckRecordStatisticDO> statisticListByFireCheckIdList(List<String> fireCheckIdList);

    List<DataStatisticDO> DataStatisticDO(List<Long> corpinfoIds);

    IPage<FireCheckRecordDO> getCheckRecordPageH5(IPage<FireCheckRecordDO> iPage, Map<String, Object> params);

    FireCheckRecordDO getCheckRecordInfo(String fireRecordId);

    IPage<FireCheckRecordDO> getCheckRecordPageH5New(IPage<FireCheckRecordDO> iPage, Map<String, Object> params);
}

