package com.njzscloud.dispose.finance.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
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.dispose.finance.pojo.entity.MoneyFlowEntity;
import com.njzscloud.dispose.finance.pojo.result.MoneyFlowResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 资金流水
 *
 * @author ljw
 */
@Mapper
public interface MoneyFlowMapper extends BaseMapper<MoneyFlowEntity> {

    IPage<MoneyFlowResult> paging(Page<Object> page, @Param("ew") QueryWrapper<?> ew);

    List<MoneyFlowResult> paging(@Param("ew") QueryWrapper<?> ew);

}
