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.MoneyAccountEntity;
import com.njzscloud.dispose.finance.pojo.result.MoneyAccountResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 资金账户表
 *
 * @author ljw
 */
@Mapper
public interface MoneyAccountMapper extends BaseMapper<MoneyAccountEntity> {

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

    MoneyAccountResult detail(@Param("id") Long id);

}

