package com.kxs.store.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kxs.store.api.model.KxsWarehouseStock;
import com.kxs.store.api.model.KxsWarehouseStockLog;

/**
 * 客小爽仓库库存变动记录表(KxsWarehouseStockLog)表服务接口
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
public interface KxsWarehouseStockLogService extends IService<KxsWarehouseStockLog> {

    /**
     * 添加 KXS 仓库库存日志
     * 添加 KXS 仓库库存日志
     *
     * @param warehouseId    仓库 ID
     * @param brandId        品牌 ID
     * @param warehouseStock 仓库操作的库存 注意要加减
     * @param kind           add sub
     * @param changeType     变动类型 0入库 1出库 2调拨
     * @param count          操作数量
     */
    void addKxsWarehouseStockLog(Integer warehouseId, Integer brandId, KxsWarehouseStock warehouseStock, String kind, int changeType, int count);
}

