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

import cn.hutool.core.date.DateTime;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.harmonic.pojo.po.RMpPartHarmonicDetailM;
import org.apache.ibatis.annotations.Param;

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

/**
 * RMpPartHarmonicDetailMMapper
 *
 * @author qijian
 * @version 1.0.0
 * @createTime 2022/12/12 - 15:21
 */
public interface RMpPartHarmonicDetailMMapper extends MppBaseMapper<RMpPartHarmonicDetailM> {

    List<RMpPartHarmonicDetailM> getHarmonicDetailMonthOne(@Param("dataDate") String dataDate, @Param("startTime") DateTime startTime, @Param("endTime")DateTime endTime, @Param("lineList") List<String> lineList);

    Map<String, Object> getPartSum(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("lineIds") List<String> lineIds);

}
