package com.zcloud.zcGbsServicer.persistence.repository;

import com.zcloud.zcGbsServicer.persistence.dataobject.RescueTeamDO;
import com.alibaba.cola.dto.PageResponse;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jjb.saas.framework.repository.repo.BaseRepository;

import java.util.Map;

/**
* web-infrastructure
* @Author makejava
* @Date 2026-01-21 17:23:00
*/
public interface RescueTeamRepository extends BaseRepository<RescueTeamDO> {
    PageResponse<RescueTeamDO> listPage(Map<String,Object> params);

    PageResponse<RescueTeamDO> listScreen(IPage<RescueTeamDO> page, Map<String, Object> params);

    boolean existsByTeamName(String teamName, Long excludeId);
}

