package com.njcn.harmonic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.harmonic.pojo.po.RStatHarmonicOrgD;
import com.njcn.harmonic.pojo.vo.StatHarmonicOrgVO;
import com.njcn.user.pojo.dto.DeptDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qijian
 * @version 1.0.0
 * @createTime 2022/10/9 - 11:09
 */
public interface StatHarmonicOrgDMapper extends BaseMapper<RStatHarmonicOrgD> {

    /**
     * 查询谐波越限 日占比
     * @param list,startTime,endTime 参数
     * @return 结果
     */
    List<StatHarmonicOrgVO> listDayRatio(@Param("list") List<DeptDTO> list, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
