package com.yuchen.saas.park.service.service.fire.fight;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuchen.saas.park.api.dto.fire.fight.CloseDangerReqDTO;
import com.yuchen.saas.park.api.dto.fire.fight.FireFightDangerReqDTO;
import com.yuchen.saas.park.api.dto.fire.fight.FireFightDangerSubmitReqDTO;
import com.yuchen.saas.park.api.dto.work.SaasWorkOrderDto;
import com.yuchen.saas.park.api.entity.fire.fight.SaasParkFireFightDanger;
import com.yuchen.saas.park.api.vo.fire.fight.FireFightDangerCountVO;
import com.yuchen.saas.park.api.vo.fire.fight.FireFightDangerVO;
import org.nest.springwrap.core.mp.support.NestPage;

/**
 * <p>
 * 消防隐患信息表 服务类
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-04-29
 */
public interface ISaasParkFireFightDangerService extends IService<SaasParkFireFightDanger> {

    NestPage<FireFightDangerVO> findFireFightDangerPage(FireFightDangerReqDTO reqDTO);

    FireFightDangerCountVO getFireFightDangerCount(FireFightDangerReqDTO reqDTO);

    FireFightDangerVO getFireFightDanger(Long dangerId);

    Boolean closeFireFightDanger(CloseDangerReqDTO dangerId);

    Boolean addFireFightDanger(FireFightDangerSubmitReqDTO reqDTO);

    Boolean addDangerWorkOrder(SaasWorkOrderDto workOrderDto, Long dangerId);
}
