From 685ba1842974c0a406449e5579c66d6c5a3510e3 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 19 十一月 2024 22:26:02 +0800
Subject: [PATCH] 避免下发页面的新增导致的重复工单

---
 ycl-server/src/main/java/com/ycl/calculate/CarConsistentCalculation.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/calculate/CarConsistentCalculation.java b/ycl-server/src/main/java/com/ycl/calculate/CarConsistentCalculation.java
index 09fa8de..8e82608 100644
--- a/ycl-server/src/main/java/com/ycl/calculate/CarConsistentCalculation.java
+++ b/ycl-server/src/main/java/com/ycl/calculate/CarConsistentCalculation.java
@@ -1,8 +1,11 @@
 package com.ycl.calculate;
 
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.ycl.platform.domain.entity.CheckIndexCar;
+import com.ycl.platform.domain.entity.YwPoint;
 import com.ycl.platform.domain.result.UY.MonitorQualifyResult;
 import com.ycl.platform.mapper.CheckIndexCarMapper;
+import com.ycl.platform.mapper.YwPointMapper;
 import com.ycl.platform.service.ICheckIndexCarService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -27,7 +30,6 @@
     private CheckIndexCarMapper checkIndexCarMapper;
     @Autowired
     private ICheckIndexCarService checkIndexCarService;
-
     //鍖哄煙杞﹁締鐩綍涓�鑷寸巼鐨勫唴閮ㄧ被
     protected static class AreaStats {
         int totalSites = 0;
@@ -42,6 +44,7 @@
 
         // 鏌ヨ鏄惁index琛ㄥ凡缁忓瓨鍦ㄤ粖鏃ユ暟鎹�
         List<CheckIndexCar> checkIndexCarList = checkIndexCarMapper.selectToday(DateUtils.getDate());
+
         List<CheckIndexCar> checkIndexCars = new ArrayList<>();
         areaStatsMap.forEach((deptId, stats) -> {
             if (stats.totalSites > 0) {

--
Gitblit v1.8.0