From 4fb9148adbee4ea5b1289286b86eba8c91b44f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Thu, 31 Oct 2024 19:22:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E8=AE=BF=E5=A4=A7=E5=B1=8F=E5=90=8E?= =?UTF-8?q?=E7=AB=AF1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/mapper/DataPetitionComplaintMapper.java | 8 ++++---- .../supervision/service/DataPetitionComplaintService.java | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java b/src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java index f8c16d0..843a339 100644 --- a/src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/DataPetitionComplaintMapper.java @@ -21,7 +21,7 @@ public interface DataPetitionComplaintMapper extends BaseMapper totalQueryWrapper = new QueryWrapper<>(); + totalQueryWrapper.between("discovery_time", beginTime, endTime); + long totalMail = this.count(totalQueryWrapper); // 国家信访 QueryWrapper countryQueryWrapper = new QueryWrapper<>(); countryQueryWrapper.eq("problem_sources_code", 21); @@ -155,12 +157,12 @@ public class DataPetitionComplaintService extends ServiceImpl tangleQueryWrapper = new QueryWrapper<>(); tangleQueryWrapper.eq("entanglement_visits", 1); tangleQueryWrapper.between("discovery_time", beginTime, endTime); Long tangleMail = dataPetitionComplaintMapper.selectCount(tangleQueryWrapper); - // 集访 + // 集访 1:集 2:不集 QueryWrapper massQueryWrapper = new QueryWrapper<>(); massQueryWrapper.eq("mass_visits", 1); massQueryWrapper.between("discovery_time", beginTime, endTime);