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.common.core.util.R;
import com.kxs.store.api.dto.kxsapp.storeLimit.WarehouseApplyDTO;
import com.kxs.store.api.model.KxsWarehouseMachineApply;
import com.kxs.store.api.vo.kxsapp.storeLimit.MachineApplyDetailVO;
import com.kxs.store.api.vo.kxsapp.storeLimit.WarehouseMachineApplyListVO;

/**
 * 客小爽分仓申请补货订单表(KxsWarehouseMachineApply)表服务接口
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
public interface KxsWarehouseMachineApplyService extends IService<KxsWarehouseMachineApply> {

    /**
     * 仓库申请补货
     *
     * @param param 参数
     * @return {@link R}
     */
    R warehouseApplySubmit(WarehouseApplyDTO param);

    /**
     * app-申请记录
     *
     * @param page 页
     * @return {@link IPage}<{@link WarehouseMachineApplyListVO}>
     */
    IPage<WarehouseMachineApplyListVO> getByPage(Page<WarehouseMachineApplyListVO> page);

    /**
     * app-申请记录详情
     *
     * @param id 编号
     * @return {@link MachineApplyDetailVO}
     */
    MachineApplyDetailVO getMachineApplyDetail(Integer id);
}

