package com.fjhx.mapper.water;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.entity.water.WaterTransfer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 转仓 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-10-28
 */
public interface WaterTransferMapper extends BaseMapper<WaterTransfer> {

    Map<String, Object> getStatistics(@Param("ew") QueryWrapper<Object> wrapper);

    Page<Map<String, Object>> getPage(@Param("page") Page<Object> page, @Param("ew") QueryWrapper<Object> wrapper);

}
