package org.dromara.work.service;

import com.github.yulichang.base.MPJBaseService;
import org.dromara.common.mybatis.core.page.PageQuery;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.work.domain.TpOrder;
import org.dromara.work.domain.bo.OrderRankingBo;
import org.dromara.work.domain.bo.TpOrderBo;
import org.dromara.work.domain.vo.*;

import java.math.BigDecimal;
import java.util.Collection;
import java.util.List;

/**
 * 订单管理Service接口
 *
 * @author Maosw
 * @date 2024-08-12
 */
public interface ITpNewOrderService extends MPJBaseService<TpOrder> {

    /**
     * 客服排行榜
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<OrderRankingVo> rankingList(OrderRankingBo bo, PageQuery pageQuery);

    /**
     * 技术排行榜
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<OrderRankingVo> rankingListJS(OrderRankingBo bo, PageQuery pageQuery);


    /**
     * 客服排行榜统计
     * @param bo
     * @return
     */
    OrderRankingSumVo rankingListKFSum(OrderRankingBo bo);

    /**
     * 技术排行榜统计
     * @param bo
     * @return
     */
    OrderRankingSumVo rankingListJSSum(OrderRankingBo bo);

    /**
     * 客户下单排行榜
     * @param bo
     * @param pageQuery
     * @return
     */
    TableDataInfo<OrderRankingVo> khRankingList(OrderRankingBo bo, PageQuery pageQuery);

    /**
     * 客户下单排行榜统计
     * @param bo
     * @return
     */
    OrderRankingSumVo khRankingListSum(OrderRankingBo bo);

}
