package com.muchinfo.mtp3interface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.muchinfo.mtp3pojos.entity.BankAccountoutinapply;
import com.muchinfo.mtp3pojos.entity.BankCusbankinfo;
import com.muchinfo.mtp3pojos.vo.bankaccountsign.PutOrInAmountQueryParam;
import com.muchinfo.mtp3pojos.vo.bankaccountsign.PutOrInAmountQueryResult;
import com.muchinfo.mtp3pojos.vo.bankaccountsign.PutOrInAmountQueryResultDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 账户出入金申请表 Mapper 接口
 * </p>
 *
 * @author XKF
 * @since 2024-07-09
 */
@Mapper
public interface IBankAccountoutinapplyMapper extends BaseMapper<BankAccountoutinapply> {

    IPage<PutOrInAmountQueryResult> queryPutOrIn(IPage<PutOrInAmountQueryResult> page, @Param("vo") PutOrInAmountQueryParam param);

    List<PutOrInAmountQueryResult> queryPutOrIn(@Param("vo")PutOrInAmountQueryParam param);

    PutOrInAmountQueryResultDetail queryById(@Param("accountcode")String accountcode,@Param("cusbankid")String cusbankid,@Param("tradedate")String tradedate,@Param("exchticket")String exchticket);

    List<BankCusbankinfo> queryCusbanksForArea(@Param("areauserid")Long userid,@Param("configtype") int configtype);
}
