package com.hfkj.service.goods;

import com.alibaba.fastjson.JSONObject;
import com.hfkj.entity.BsOrderStarbucks;

import java.util.List;
import java.util.Map;

/**
  * @ClassName BsOrderStarbucksService
  * @Author Sum1Dream
  * @Description 星巴克订单
  * @Date 2024/8/5 下午1:56
 **/
public interface BsOrderStarbucksService {

    /**
     * @MethodName create
     * @Description: 创建订单
     * @param orderStarbucks
     * @Author: Sum1Dream
     * @Date: 2024/8/5 下午2:09
     */
    void create(BsOrderStarbucks orderStarbucks);

    /**
     * @MethodName update
     * @Description: 更新
     * @param orderStarbucks
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:30
     */
    void update(BsOrderStarbucks orderStarbucks);

    /**
     * @MethodName delete
     * @Description: 删除
     * @param id
     * @param fullDelete
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:30
     */
    void delete(Long id , Boolean fullDelete);

    /**
     * @MethodName queryDetail
     * @Description:查询详情
     * @param id
     * @return: com.hfkj.entity.BsOrderCinema
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:30
     */
    BsOrderStarbucks queryDetail(Long id);

    /**
     * @MethodName findGoodsOrder
     * @Description:
     * @param orderNo
     * @return: com.hfkj.entity.BsOrderCinema
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:30
     */
    BsOrderStarbucks findGoodsOrder(String orderNo);

    /**
     * @MethodName queryDetailByMap
     * @Description: 查询
     * @param map
     * @return: com.hfkj.entity.BsOrderCinema
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:34
     */
    BsOrderStarbucks queryDetailByMap(Map<String , Object> map);

    /**
     * @MethodName getList
     * @Description: 查询列表
     * @param map
     * @return: java.util.List<com.hfkj.entity.BsOrderCinema>
     * @Author: Sum1Dream
     * @Date: 2024/7/4 下午2:35
     */
    List<BsOrderStarbucks> getList(Map<String , Object> map);

    /**
     * @MethodName updateOrderStatus
     * @Description: 更新订单状态
     * @param orderNo
     * @param status
     * @Author: Sum1Dream
     * @Date: 2024/8/6 上午10:20
     */
    void updateOrderStatus(String orderNo , Integer status);

}
