package com.sckw.payment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sckw.payment.model.KwpSettlementRecord;
import com.sckw.payment.model.vo.SettlementRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xucaiqin
 * @date 2023-09-13 18:48:30
 */
@Mapper
public interface KwpSettlementRecordMapper extends BaseMapper<KwpSettlementRecord> {
    void insertBatch(@Param("list") List<KwpSettlementRecord> list);

    List<SettlementRecord> countByDay(@Param("timeAll") List<String> timeAll, @Param("time") List<String> time, @Param("entId") Long entId);

    List<SettlementRecord> countMonth(@Param("timeAll") List<String> timeAll, @Param("time") List<String> time, @Param("entId") Long entId);
}