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 com.njcn.harmonic.pojo.po.RMpSurplusHarmonicDetailM;
import org.apache.ibatis.annotations.Param;

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

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

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

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

}
