package vip.xiaonuo.warehouse.service;

import vip.xiaonuo.warehouse.entity.WarehouseOutStock;
import vip.xiaonuo.warehouse.entity.WarehouseStock;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.warehouse.entity.WarehouseStockSecond;
import vip.xiaonuo.warehouse.entity.WarehouseStockVo;
import vip.xiaonuo.warehouse.entity.vo.WarehouseStockSecondVo;
import vip.xiaonuo.warehouse.param.WarehouseStockParam;
import vip.xiaonuo.warehouse.param.WarehouseStockSecondParam;
import vip.xiaonuo.warehouse.param.WarehouseStockTailParam;

import java.util.List;

/**
 * <p>
 * 仓库库存变化 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-28
 */
public interface IWarehouseStockService extends IService<WarehouseStock> {

    //仓库指标
    WarehouseStockVo getOneTail(WarehouseStockTailParam stockParam);

    //库存趋势分析
    List<WarehouseStock> listStockChange(WarehouseStockParam stockParam);

    //出库数量分析
    List<WarehouseOutStock> listStockOut(WarehouseStockParam stockParam);

    //二级页面
    WarehouseStockSecondVo getSecond(WarehouseStockSecondParam param);

}
