|
|
@@ -99,7 +99,26 @@ public class TransportStatisticsServiceImpl implements TransportStatisticsServic
|
|
|
orderList.add(LogisticsOrderEnum.HAVE_FINISHED.getCode());
|
|
|
orderList.add(LogisticsOrderEnum.HAVE_RECONCILED.getCode());
|
|
|
orderList.add(LogisticsOrderEnum.HAVE_ALREADY_SETTLED.getCode());
|
|
|
- Integer count = logisticsOrderMapper.statisticsLogisticsByTopEntIdAndOrderStatus(topEntId, orderList);
|
|
|
+ Integer count = logisticsOrderMapper.statisticsLogisticsByTopEntIdAndOrderStatus(topEntId, orderList,"2");
|
|
|
+ return count;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 统计托运订单数量
|
|
|
+ *
|
|
|
+ * @param topEntId 集团企业id
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Integer statisticsLogisticsByConsign(Long topEntId) {
|
|
|
+ //统计维度
|
|
|
+ List<Integer> orderList = new ArrayList<>();
|
|
|
+ orderList.add(LogisticsOrderEnum.WAIT_DELIVERY.getCode());
|
|
|
+ orderList.add(LogisticsOrderEnum.IN_TRANSIT.getCode());
|
|
|
+ orderList.add(LogisticsOrderEnum.HAVE_FINISHED.getCode());
|
|
|
+ orderList.add(LogisticsOrderEnum.HAVE_RECONCILED.getCode());
|
|
|
+ orderList.add(LogisticsOrderEnum.HAVE_ALREADY_SETTLED.getCode());
|
|
|
+ Integer count = logisticsOrderMapper.statisticsLogisticsByTopEntIdAndOrderStatus(topEntId, orderList,"1");
|
|
|
return count;
|
|
|
}
|
|
|
}
|