package com.yeshi.fanli.service.inter.hongbao;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.dto.HongBao;
|
import com.yeshi.fanli.entity.bus.user.OrderItem;
|
import com.yeshi.fanli.entity.bus.user.ThreeSaleGift;
|
|
public interface ThreeSaleGiftService {
|
|
/**
|
* 保存
|
* @param threeSaleGift
|
*/
|
void save(ThreeSaleGift threeSaleGift);
|
|
/**
|
* 修改
|
* @param orderItem
|
*/
|
void update(OrderItem orderItem);
|
|
|
/**
|
* 修改
|
* @param orderItem
|
*/
|
void updateByOrderItem(OrderItem orderItem);
|
|
|
/**
|
* 查找
|
* @param orderItemId
|
* @return
|
*/
|
List<ThreeSaleGift> findThreeSaleGiftList(long orderItemId);
|
/**
|
* 修改
|
* @param threeSaleGift
|
*/
|
void update(ThreeSaleGift threeSaleGift);
|
/**
|
* 转换
|
* @param oldHongBao
|
* @param parentOrderItem
|
* @return
|
*/
|
ThreeSaleGift conver(HongBao oldHongBao, OrderItem parentOrderItem);
|
|
}
|