SellOrderService.java 980 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.ym.mec.biz.service;
  2. import com.ym.mec.biz.dal.entity.MusicGroup;
  3. import com.ym.mec.biz.dal.entity.SellOrder;
  4. import com.ym.mec.biz.dal.entity.StudentPaymentOrder;
  5. import com.ym.mec.biz.dal.entity.StudentPaymentOrderDetail;
  6. import com.ym.mec.common.service.BaseService;
  7. import java.math.BigDecimal;
  8. import java.util.List;
  9. public interface SellOrderService extends BaseService<Integer, SellOrder> {
  10. /**
  11. * 添加销售订单
  12. *
  13. * @param goodsIds
  14. * @param totalAmount
  15. * @param balance
  16. * @return
  17. */
  18. List<SellOrder> addSellOrder(Long orderId, String musicGroupId, List<Integer> goodsIds, BigDecimal totalAmount, BigDecimal balance);
  19. /**
  20. * 将订单详情加入销售列表
  21. * @param orderDetails
  22. * @param studentPaymentOrder
  23. * @return
  24. */
  25. List<SellOrder> addOrderDetail2SellOrder(List<StudentPaymentOrderDetail> orderDetails, StudentPaymentOrder studentPaymentOrder, MusicGroup musicGroup);
  26. }