package com.ruoyi.web.modules.industryservice.mapper;

import java.util.Date;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.industryservice.domain.BizEnvMonitoringRecord;

public interface BizEnvMonitoringRecordMapper
{
    BizEnvMonitoringRecord selectByExternalId(@Param("externalId") Long externalId);

    Date selectMaxMonitoringTime();

    long countRecords();

    int insertBizEnvMonitoringRecord(BizEnvMonitoringRecord row);

    int updateBizEnvMonitoringRecordFromSync(BizEnvMonitoringRecord row);
}
