package com.ruoyi.mall.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.common.utils.ApiResult;
import com.ruoyi.mall.domain.MallAppOrderOrder;
import com.ruoyi.mall.domain.MallOrderOrder;
import com.ruoyi.mall.domain.dto.MallAppOrderOrderDTO;
import com.ruoyi.mall.domain.vo.MallAppOrderGoodsExportVO;
import com.ruoyi.mall.domain.vo.MallOrderGoodsExportVO;

/**
 * app-线下订单Service接口
 *
 * @author ruoyi
 * @date 2024-06-29
 */
public interface IMallAppOrderOrderService
{
    /**
     * 查询app-线下订单
     *
     * @param id app-线下订单主键
     * @return app-线下订单
     */
    public MallAppOrderOrder selectMallAppOrderOrderById(Long id);

    /**
     * 查询app-线下订单列表
     *
     * @param mallAppOrderOrder app-线下订单
     * @return app-线下订单集合
     */
    public List<MallAppOrderOrder> selectMallAppOrderOrderList(MallAppOrderOrder mallAppOrderOrder);

    /**
     * 新增app-线下订单
     *
     * @param mallAppOrderOrder app-线下订单
     * @return 结果
     */
    public int insertMallAppOrderOrder(MallAppOrderOrder mallAppOrderOrder);

    /**
     * 修改app-线下订单
     *
     * @param mallAppOrderOrder app-线下订单
     * @return 结果
     */
    public int updateMallAppOrderOrder(MallAppOrderOrder mallAppOrderOrder);

    /**
     * 批量删除app-线下订单
     *
     * @param ids 需要删除的app-线下订单主键集合
     * @return 结果
     */
    public int deleteMallAppOrderOrderByIds(Long[] ids);

    /**
     * 删除app-线下订单信息
     *
     * @param id app-线下订单主键
     * @return 结果
     */
    public int deleteMallAppOrderOrderById(Long id);

    /**
     * 新增线下订单
     *
     * @param resourceDTO app-线下订单
     * @return 结果
     */
    public ApiResult insertMallAppOrderOrderByDTO(MallAppOrderOrderDTO resourceDTO);

    /**
     * 查询app-线下订单列表
     *
     * @param params 参数
     * @return app-线下订单集合
     */
    public List<Map<String, Object>> selectMallAppOrderOrderListByParams(Map<String, Object> params);

    /**
     * 查询app-线下订单
     *
     * @param params params 参数
     * @return app-线下订单
     */
    public ApiResult selectMallAppOrderOrderByParams(Map<String, Object> params);

    /**
     * 上传支付凭证
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult uploadOrderPayProof(MallAppOrderOrderDTO resourceDTO);

    /**
     * 编辑订单
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult uploadOrder(MallAppOrderOrderDTO resourceDTO);

    /**
     * 管理员审核订单
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult adminExamineOrder(MallAppOrderOrderDTO resourceDTO);

    /**
     * 仓管接单
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult warehouseManageOrder(MallAppOrderOrderDTO resourceDTO);

    /**
     * 上传装车视频
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult uploadOrderCarVideoDTO(MallAppOrderOrderDTO resourceDTO);

    /**
     * 财务审核
     *
     * @param resourceDTO app-线下订单
     * @return app-线下订单
     */
    public ApiResult financeExamineOrder(MallAppOrderOrderDTO resourceDTO);

    /**
     * 订单商品列表
     *
     * @param mallAppOrderOrder app-线下订单
     * @return app-线下订单
     */
    public List<MallAppOrderGoodsExportVO> selectExportAppOrderList(MallAppOrderOrder mallAppOrderOrder);

    /**
     * 导出订单列表
     *
     * @param orderIds 订单ID
     * @return app-线下订单集合
     */
    public List<MallAppOrderGoodsExportVO> selectExportAppOrderAppOrderOrderList(Long[] orderIds);
}
