package com.stylefeng.guns.modular.system.service;
|
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
import com.stylefeng.guns.modular.system.controller.resp.TOrderResp;
|
import com.stylefeng.guns.modular.system.controller.resp.TOrderServerResp;
|
import com.stylefeng.guns.modular.system.model.TOrder;
|
import com.baomidou.mybatisplus.service.IService;
|
import org.springframework.ui.Model;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 订单 服务类
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2023-02-15
|
*/
|
public interface ITOrderService extends IService<TOrder> {
|
|
/**
|
* 获取订单列表
|
* @param createTime
|
* @param code
|
* @param source
|
* @param userName
|
* @param userPhone
|
* @param state
|
* @param driverName
|
* @return
|
*/
|
List<TOrderResp> getOrderList(String createTime, String code, Integer source, String userName, String userPhone, Integer state, String driverName,Integer isException);
|
|
/**
|
* 跳转详情页面
|
* @param orderId
|
* @param model
|
*/
|
void orderDetail(Integer orderId, Model model);
|
|
/**
|
* 跳转异常详情页面
|
* @param orderId
|
* @param model
|
*/
|
void orderExceptionDetail(Integer orderId, Model model);
|
|
/**
|
* 订单统计,每年按月份
|
* @param agentId
|
* @param model
|
*/
|
void getDataStatisticsByYear(Integer agentId,String yearDate, Model model);
|
|
/**
|
* 单量
|
* @param agentId
|
* @param monthDate
|
* @param model
|
*/
|
void getDataStatisticsOrderCount(Integer agentId, String monthDate, Model model);
|
|
/**
|
* 查询统计待接单,服务中,已完成,已取消
|
* @param agentId
|
* @param map
|
*/
|
void getDataStatisticsCount(Integer agentId, Map<String, Integer> map);
|
|
/**
|
* 查询服务中的订单列表
|
* @param agentId
|
* @return
|
*/
|
List<TOrderServerResp> getDataStatisticsServerList(Integer agentId);
|
|
/**
|
* 查询今天所有订单
|
* @param agentId
|
* @return
|
*/
|
List<TOrder> getDataStatisticsAllList(Integer agentId);
|
|
}
|