package com.bcxin.tenant.open.domains.repositories;

import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.bcxin.tenant.open.domains.entities.OrgPurseEntity;
import com.bcxin.tenant.open.domains.entities.OrgPurseTransactionEntity;
import com.bcxin.tenant.open.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface OrgPurseTransactionRepository extends RepositoryBase<OrgPurseTransactionEntity> {
    void batchInsert(Collection<OrgPurseTransactionEntity> transactions);

    /**
     * 只插入交易信息，不更新钱包
     * @param transactions
     */
    void batchInsertWithoutUpdateOrgPurse(Collection<OrgPurseTransactionEntity> transactions);
}
