package com.zsElectric.boot.business.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.zsElectric.boot.business.model.entity.FirmAccountLog;
import com.zsElectric.boot.business.model.query.FirmAccountLogQuery;
import com.zsElectric.boot.business.model.vo.FirmAccountLogVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 企业资金流水Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-26
 */
@Mapper
public interface FirmAccountLogMapper extends BaseMapper<FirmAccountLog> {

    /**
     * 分页查询企业资金流水
     *
     * @param page 分页对象
     * @param queryParams 查询条件
     * @return 分页结果
     */
    IPage<FirmAccountLogVO> getFirmAccountLogPage(Page<FirmAccountLogVO> page, @Param("queryParams") FirmAccountLogQuery queryParams);
}
