From 3ef388b922400f979788958d9b2823af4fcd7b07 Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期二, 22 八月 2023 09:14:01 +0800
Subject: [PATCH] 2.0 新增
---
management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITOrderService.java | 136 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 136 insertions(+), 0 deletions(-)
diff --git a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITOrderService.java b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITOrderService.java
index 0d6137e..ae9138f 100644
--- a/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITOrderService.java
+++ b/management/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/ITOrderService.java
@@ -2,10 +2,16 @@
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>
@@ -29,4 +35,134 @@
* @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);
}
--
Gitblit v1.7.1