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);