package com.hfkj.service.goods;
import com.hfkj.entity.GoodsUserAddress;
import java.util.List;
import java.util.Map;

public interface GoodsUserAddressService {

    /**
     * @Author Sum1Dream
     * @Name create
     * @Description // 创建
     * @Date 15:11 2024/4/19
     * @Param GoodsBrand
     * @return void
     */
    void create(GoodsUserAddress goodsUserAddress);

    /**
     * @Author Sum1Dream
     * @Name update
     * @Description // 修改
     * @Date 15:12 2024/4/19
     * @Param GoodsBrand
     * @return void
     */
    void update(GoodsUserAddress goodsUserAddress);

    /**
     * @Author Sum1Dream
     * @Name delete
     * @Description // 修改
     * @Date 15:12 2024/4/19
     * @Param id
     * @return void
     */
    void delete(Long id);

    /**
     * @Author Sum1Dream
     * @Name queryDetail
     * @Description // 根据ID查询产品类型详情
     * @Date 15:12 2024/4/19
     * @Param id
     * @return com.hfkj.entity.GoodsBrand
     */
    GoodsUserAddress queryDetail(Long id);

    /**
     * @Author Sum1Dream
     * @Name queryDetailByMap
     * @Description // 根据多条件查询产品类型
     * @Date 15:12 2024/4/19
     * @Param map
     * @return com.hfkj.entity.GoodsBrand
     */
    GoodsUserAddress queryDetailByMap(Map<String , Object> map);

    /**
     * @Author Sum1Dream
     * @Name getList
     * @Description // 根据多条件查询列表
     * @Date 15:13 2024/4/19
     * @Param map
     * @return java.util.List<com.hfkj.entity.GoodsBrand>
     */
    List<GoodsUserAddress> getList(Map<String , Object> map);

    /**
     * @Author Sum1Dream
     * @Name cleanDeliveryAddressDefault
     * @Description // 清空所有的默认收货地址
     * @Date 10:33 2023/4/17
     * @Param [userId]
     * @Return void
     */
    void cleanDeliveryAddressDefault(Long userId);

    /**
     * @MethodName insertUserAddressBatch
     * @Description: 批量新增
     * @param list
     * @Author: Sum1Dream
     * @Date: 2024/7/25 下午3:11
     */
    void insertUserAddressBatch(List<GoodsUserAddress> list);
}
