package com.yeejoin.equipmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.equipmanage.common.entity.SocialPower;
import com.yeejoin.equipmanage.common.entity.dto.FireResourceStatsDTO;
import org.apache.ibatis.annotations.Param;

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

/**
 * 社会力量表 Mapper 接口
 *
 * @author system_generator
 * @date 2022-02-18
 */
public interface SocialPowerMapper extends BaseMapper<SocialPower> {


    Page<SocialPower> listPage(@Param("page") Page page, @Param("dto") SocialPower dto);

    List<Map<String, Object>> getSocialPowerList();

    FireResourceStatsDTO getStatistics(@Param("bizOrgCode")String bizOrgCode);
}
