package com.cool.store.service.fees;

import com.cool.store.entity.fees.ShopAllocationInfoDO;
import com.cool.store.request.fees.ShopAllocationInfoRequest;
import com.cool.store.vo.fees.ShopAllocationSimpleVO;

import java.util.List;

/**
 * <p>
 * 门店平安钱包分账信息服务类
 * </p>
 *
 * @author wangff
 * @since 2026/1/29
 */
public interface ShopAllocationInfoService {

    /**
     * 根据门店id查询门店分账信息，不存在时获取默认数据
     * @param shopId 门店id
     * @return 门店平安钱包分账信息列表
     */
    List<ShopAllocationInfoDO> getOrDefault(Long shopId);
    /**
     * 根据门店id查询门店分账信息
     * @param shopId 门店id
     * @return 门店平安钱包分账信息列表
     */
    List<ShopAllocationSimpleVO> getSimpleInfo(Long shopId);

    /**
     * 批量新增
     */
    void insertBatch(Long shopId, List<ShopAllocationInfoRequest> list);

    /**
     * 批量更新
     */
    void updateBatch(Long shopId, List<ShopAllocationInfoRequest> list);
}
