package com.fjhx.stock.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.entity.stock.StockTransfer;
import com.fjhx.params.stock.StockTransferVo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 转仓 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-09-13
 */
public interface StockTransferMapper extends BaseMapper<StockTransfer> {

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

    StockTransferVo StockTransferVo(@Param("id") Long id);

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

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

}
