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.infrastructures.repositories.RepositoryBase;

import java.util.Collection;

public interface OrgPurseRepository  extends RepositoryBase<OrgPurseEntity> {
    /**
     * 添加OrganizationId 索引
     * @param ids
     * @return
     */
    Collection<OrgPurseEntity> getByOrganizationIds(Collection<String> ids);

    int update(OrgPurseEntity orgPurseEntity, LambdaUpdateWrapper<OrgPurseEntity> updateWrapper);
}
