package com.gyee.wisdom.alarm.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gyee.wisdom.alarm.sharding.entity.MainBrownouts2;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

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

@Repository
@Mapper
public interface MainBrownoutsMapper extends BaseMapper<MainBrownouts2> {

    Map<String, String> queryMainBrownouts2Count(@Param("currentDate") Date currentDate);
}
