package com.hai.goods.service;

import com.hai.entity.ApiMchProduct;
import com.hai.entity.GoodsDetail;
import com.hai.entity.GoodsLogistics;
import com.hai.entity.HighApprove;

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

/**
 * @serviceName GoodsDetailService.java
 * @author Sum1Dream
 * @version 1.0.0
 * @Description // 商品详情业务
 * @createTime 15:00 2023/4/11
 **/
public interface GoodsDetailService {

    /**
     * @Author Sum1Dream
     * @Name insertGoodsDetail
     * @Description // 新增商品详情
     * @Date 15:08 2023/4/11
     * @Param [goodsDetail]
     * @Return void
     */
    void insertGoodsDetail(GoodsDetail goodsDetail);

    /**
     * @Author Sum1Dream
     * @Name updateGoodsDetail
     * @Description // 更新商品详情
     * @Date 15:14 2023/4/11
     * @Param [goodsDetail]
     * @Return void
     */
    void updateGoodsDetail(GoodsDetail goodsDetail);

    /**
     * @Author Sum1Dream
     * @Name getGoodsDetailList
     * @Description // 查询商品列表
     * @Date 15:17 2023/4/11
     * @Param [map]
     * @Return java.util.List<com.hai.entity.GoodsDetail>
     */
    List<GoodsDetail> getGoodsDetailList(Map<String , Object> map);


    /**
     * @Author Sum1Dream
     * @Name findGoodsDetailById
     * @Description // 根据id商品详情
     * @Date 16:19 2023/4/11
     * @Param [id]
     * @Return com.hai.entity.GoodsDetail
     */
    GoodsDetail findGoodsDetailById(Long id);

    void upShelfApproveResult(HighApprove highApprove);

}
