package com.ruoyi.system.service;

import com.ruoyi.system.domain.InfoUser;
import com.ruoyi.system.domain.MerchantSubaccountStore;

import java.util.List;

public interface IMerchantSubaccountStoreService {

    List<Long> selectStoreIdsBySubaccountUserId(Long subaccountUserId);

    List<InfoUser> selectEligibleSubaccountsByStoreId(Long storeId);

    int replaceRelations(Long subaccountUserId, List<Long> storeIds);

    int deleteByStoreId(Long storeId);

    int insertBatch(List<MerchantSubaccountStore> relations);
}
