package com.jeesharp.business.modules.food.api;

import com.jeesharp.business.modules.finance.api.dto.PaySettleBizOrderSnapshot;

import java.util.Collection;
import java.util.Map;

/**
 * 美食业态财务结算只读 API，聚合团购/个人订餐/企业团餐子单查询，供 {@code PaySettleBizOrderProvider} 使用。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
public interface FoodFinanceReadApi {

    PaySettleBizOrderSnapshot getFoodBookingSnapshot(String bizOrderId);

    PaySettleBizOrderSnapshot getPersonalMealSnapshot(String bizOrderId);

    PaySettleBizOrderSnapshot getCompanyMealSnapshot(String bizOrderId);

    String findFoodBookingOrderIdByOrderNo(String orderNo);

    String findPersonalMealOrderIdByOrderNo(String orderNo);

    String findCompanyMealOrderIdByOrderNo(String orderNo);

    Map<String, String> mapFoodBookingOrderNoByIds(Collection<String> bizOrderIds);

    Map<String, String> mapPersonalMealOrderNoByIds(Collection<String> bizOrderIds);

    Map<String, String> mapCompanyMealOrderNoByIds(Collection<String> bizOrderIds);
}
