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.math.BigDecimal;
|
import java.util.Date;
|
import java.util.HashMap;
|
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,Map<String, Object> map);
|
|
/**
|
* 单量
|
* @param agentId
|
* @param monthDate
|
* @param model
|
*/
|
void getDataStatisticsOrderCount(Integer agentId, String monthDate, Model model,Map<String, Object> map);
|
|
/**
|
* 查询统计待接单,服务中,已完成,已取消
|
* @param agentId
|
* @param model
|
*/
|
void getDataStatisticsCount(Integer agentId, Model model);
|
|
/**
|
* 查询服务中的订单列表
|
* @param agentId
|
* @return
|
*/
|
List<TOrderServerResp> getDataStatisticsServerList(Integer agentId);
|
|
/**
|
* 查询今天所有订单
|
* @param agentId
|
* @return
|
*/
|
List<TOrder> getDataStatisticsAllList(Integer agentId,Integer type);
|
|
/**
|
* 查询统计在线司机,待接单,服务中,已完成,已取消
|
* @param ids
|
* @param model
|
*/
|
void getDataStatisticsCountByIds(List<Integer> ids, Model model);
|
|
/**
|
* 查询服务中的订单列表
|
* @param ids
|
* @return
|
*/
|
List<TOrderServerResp> getDataStatisticsServerListByIds(List<Integer> ids);
|
|
/**
|
* 查询今天所有订单
|
* @param ids
|
* @return
|
*/
|
List<TOrder> getDataStatisticsAllListByIds(List<Integer> ids,Integer type);
|
|
/**
|
* 查询统计在线司机
|
* @param agentId
|
* @param map
|
*/
|
void getDataStatisticsCountGetMap(Integer agentId, HashMap<String, Object> map);
|
|
/**
|
* 查询统计在线司机(广东)
|
* @param ids
|
* @param map
|
*/
|
void getDataStatisticsCountByIdsGetMap(List<Integer> ids, HashMap<String, Object> map);
|
|
/**
|
* 订单统计,每年按月份
|
* @param ids
|
* @param yearDate
|
* @param model
|
* @param map
|
*/
|
void getDataStatisticsByYearByIds(List<Integer> ids, String yearDate, Model model, Map<String, Object> map);
|
|
/**
|
* 业绩排名单量(广东)
|
* @param ids
|
* @param monthDate
|
* @param model
|
* @param map
|
*/
|
void getDataStatisticsOrderCountByIds(List<Integer> ids, String monthDate, Model model, Map<String, Object> map);
|
|
/**
|
* 订单统计 本月
|
* @param agentId
|
* @param dayDate
|
* @param model
|
* @param map
|
*/
|
void getStatisticsOrderByMonth(Integer agentId, String dayDate, Model model, Map<String, Object> map);
|
|
/**
|
* 查询本月广东
|
* @param ids
|
* @param dayDate
|
* @param model
|
* @param map
|
*/
|
void getStatisticsOrderByMonthIds(List<Integer> ids, String dayDate, Model model, Map<String, Object> map);
|
|
/**
|
* 查询司机当月有效订单数量
|
* @param driverId
|
* @param orderMoney
|
* @param month
|
* @return
|
*/
|
Integer getValidOrderCount(Integer driverId, BigDecimal orderMoney, String month);
|
}
|