package com.yueqian.xingyun.sc.service.paytype;

import com.lframework.starter.web.core.service.BaseMpService;
import com.yueqian.xingyun.sc.entity.OrderPayType;
import com.yueqian.xingyun.sc.vo.paytype.OrderPayTypeVo;
import java.util.List;

public interface OrderPayTypeService extends BaseMpService<OrderPayType> {

  /**
   * 创建
   *
   * @param orderId
   * @param data
   */
  void create(String orderId, List<OrderPayTypeVo> data);

  /**
   * 根据订单ID删除
   *
   * @param orderId
   */
  void deleteByOrderId(String orderId);

  /**
   * 根据订单ID查询
   *
   * @param orderId
   * @return
   */
  List<OrderPayType> findByOrderId(String orderId);
}