package com.ruoyi.fire.service;

import com.ruoyi.fire.domain.FireFacilityReport;

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

public interface IFireFacilityReportService {
    List<FireFacilityReport> selectFireFacilityReportList(FireFacilityReport fireFacilityReport);
    int updateExpiryStatus();
    List<Map<String, Object>> getReportData(String facilityType);


    // 新增：计算动态状态的方法
    Integer calculateDynamicStatus(Date expiryDate, Integer originalStatus);

    // 新增：状态文本转换方法
    String getStatusText(Integer status);


}