| 12345678910111213141516171819202122232425262728293031323334 |
- package com.ym.mec.biz.service;
- import com.ym.mec.biz.dal.entity.MusicGroup;
- import com.ym.mec.biz.dal.entity.SellOrder;
- import com.ym.mec.biz.dal.entity.StudentPaymentOrder;
- import com.ym.mec.biz.dal.entity.StudentPaymentOrderDetail;
- import com.ym.mec.common.service.BaseService;
- import java.math.BigDecimal;
- import java.util.List;
- public interface SellOrderService extends BaseService<Integer, SellOrder> {
- /**
- * 添加销售订单
- *
- * @param goodsIds
- * @param totalAmount
- * @param balance
- * @return
- */
- List<SellOrder> addSellOrder(Long orderId, String musicGroupId, List<Integer> goodsIds, BigDecimal totalAmount, BigDecimal balance);
- /**
- * 将订单详情加入销售列表
- * @param orderDetails
- * @param studentPaymentOrder
- * @return
- */
- List<SellOrder> addOrderDetail2SellOrder(List<StudentPaymentOrderDetail> orderDetails, StudentPaymentOrder studentPaymentOrder, MusicGroup musicGroup);
- }
|