package com.njzscloud.supervisory.money.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njzscloud.supervisory.money.pojo.entity.MoneyChangeDetailEntity;
import com.njzscloud.supervisory.money.pojo.result.MoneyChangeDetailExportResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 资金变动明细
 */
@Mapper
public interface MoneyChangeDetailMapper extends BaseMapper<MoneyChangeDetailEntity> {
    /**
     * 分页查询
     */
    IPage<MoneyChangeDetailEntity> page(Page<MoneyChangeDetailEntity> page, @Param("entity") MoneyChangeDetailEntity entity);

    List<MoneyChangeDetailExportResult> exportList(@Param("entity") MoneyChangeDetailEntity entity);

    IPage<MoneyChangeDetailExportResult> exportList(Page<MoneyChangeDetailExportResult> page, @Param("entity") MoneyChangeDetailEntity entity);
}
