package com.ruoyi.web.modules.stock.service;

import java.util.List;
import java.util.Map;
import com.ruoyi.web.modules.stock.dto.StockAdjustCreateDTO;
import com.ruoyi.web.modules.stock.dto.StockAdjustQuery;
import com.ruoyi.web.modules.stock.dto.StockAdjustRecordQuery;
import com.ruoyi.web.modules.stock.vo.StockAdjustListRowVO;
import com.ruoyi.web.modules.stock.vo.StockAdjustRecordRowVO;

/**
 * 库存调整
 */
public interface IStockAdjustService
{
    List<StockAdjustListRowVO> selectList(Long shopId, StockAdjustQuery query);

    Map<String, Object> confirmAdjust(Long shopId, Long goodsId, StockAdjustCreateDTO dto, Long operatorId,
            String operatorName);

    List<StockAdjustRecordRowVO> listRecords(Long shopId, Long goodsId, StockAdjustRecordQuery query);
}
