package cn.pluss.platform.merchantOrderSplit;

import cn.pluss.platform.entity.MerchantOrderSplitDetail;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分账明细详情表 服务类
 * </p>
 *
 * @author bzg
 * @since 2022-07-01
 */
public interface MerchantOrderSplitDetailService extends IService<MerchantOrderSplitDetail> {

    /**
     * 根据订单号查询订单详情
     * @param orderNumber
     * @return
     */
    List<MerchantOrderSplitDetail> listByOrderNumber(String orderNumber);

    /**
     * 根据订单号和商户编号code查询分账详情订单信息
     * @param orderNumber
     * @param merchantCode
     * @return
     */
    MerchantOrderSplitDetail getByOrderNumberAndMerchantCode(String orderNumber, String merchantCode);
}
