package com.njcn.prepare.harmonic.mapper.mysql.newalgorithm;

import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.prepare.harmonic.pojo.po.RStatSubstationDPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2022/12/13  15:39【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Mapper
public interface RStatSubstationDPOMapper extends MppBaseMapper<RStatSubstationDPO> {

    Map<String, Object> getSumAndCount(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("substationId") String substationId);

    Map<String, Object> getSumAndCountQ(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("substationId") String substationId);

}