package com.qihang.dou.service;

import com.qihang.common.common.PageQuery;
import com.qihang.common.common.PageResult;
import com.qihang.common.common.ResultVo;
import com.qihang.dou.domain.OmsDouOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qihang.dou.domain.bo.DouOrderBo;

/**
* @author TW
* @description 针对表【oms_dou_order(抖店订单表)】的数据库操作Service
* @createDate 2024-06-14 11:20:51
*/
public interface OmsDouOrderService extends IService<OmsDouOrder> {
    PageResult<OmsDouOrder> queryPageList(DouOrderBo bo, PageQuery pageQuery);

    OmsDouOrder queryDetailById(Long id);
    OmsDouOrder queryDetailByOrderId(String orderId);
    /**
     * 保存店铺订单
     * @param shopId
     * @param order
     * @return
     */
    ResultVo<Integer> saveOrder(Long shopId, OmsDouOrder order);
}
