package com.kxs.store.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kxs.store.api.dto.kxsapp.store.StoreSearchListDTO;
import com.kxs.store.api.model.KxsWarehouse;
import com.kxs.store.api.vo.kxsapp.store.StoreDataVO;
import com.kxs.store.api.vo.kxsapp.store.StoreListVO;
import com.kxs.store.api.vo.kxsapp.store.StoreSearchListVO;

import java.util.List;

/**
 * 客小爽仓库表(KxsWarehouse)表服务接口
 *
 * @author 系统
 * @since 2024-01-08 09:46:01
 */
public interface KxsWarehouseService extends IService<KxsWarehouse> {

    /**
     * app 搜索列表
     *
     * @param page  页
     * @param param 参数
     * @return {@link IPage}<{@link StoreSearchListVO}>
     */
    IPage<StoreSearchListVO> searchList(Page<StoreSearchListVO> page, StoreSearchListDTO param);

    /**
     * 用户仓库列表
     *
     * @return {@link StoreListVO}
     */
    List<StoreListVO> userStoreList(Integer reqType);

    /**
     * 仓库数据
     *
     * @param warehouseId 仓库 ID
     * @return {@link StoreDataVO}
     */
    StoreDataVO storeData(Integer warehouseId);

}

