|
|
@@ -0,0 +1,63 @@
|
|
|
+package com.zhongzheng.service.impl;
|
|
|
+
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
+import cn.hutool.http.HttpStatus;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import com.zhongzheng.common.model.TableDataInfo;
|
|
|
+import com.zhongzheng.common.util.DateUtils;
|
|
|
+import com.zhongzheng.domian.OrderCompany;
|
|
|
+import com.zhongzheng.domian.OrderStatistics;
|
|
|
+import com.zhongzheng.domian.SysCompany;
|
|
|
+import com.zhongzheng.mapper.OrderCompanyMapper;
|
|
|
+import com.zhongzheng.mapper.OrderStatisticsMapper;
|
|
|
+import com.zhongzheng.mapper.SysCustomerSeaMapper;
|
|
|
+import com.zhongzheng.service.IOrderCompanyService;
|
|
|
+import com.zhongzheng.service.IOrderStatisticsService;
|
|
|
+import com.zhongzheng.service.ISysCompanyService;
|
|
|
+import com.zhongzheng.service.ISysCustomerSeaService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.util.stream.Collectors;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 菜单 业务层处理
|
|
|
+ *
|
|
|
+ * @author zhongzheng
|
|
|
+ */
|
|
|
+@Service
|
|
|
+public class OrderStatisticsServiceImpl extends ServiceImpl<OrderStatisticsMapper, OrderStatistics> implements IOrderStatisticsService {
|
|
|
+ public static final String PREMISSION_STRING = "perms[\"{0}\"]";
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private OrderCompanyMapper orderCompanyMapper;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private ISysCustomerSeaService sysCustomerSeaService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private ISysCompanyService sysCompanyService;
|
|
|
+
|
|
|
+ private SysCustomerSeaMapper customerSeaMapper;
|
|
|
+
|
|
|
+
|
|
|
+ private final Object lock = new Object();
|
|
|
+
|
|
|
+ private Integer count=0;
|
|
|
+
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public long insertOrderStatistics(OrderStatistics entity) {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public TableDataInfo<OrderStatistics> selectOrderStatisticsList(OrderStatistics entity) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+}
|