|
|
|
|
@ -19,6 +19,7 @@ import com.biutag.supervision.pojo.dto.*;
|
|
|
|
|
import com.biutag.supervision.pojo.entity.DataPetition12337; |
|
|
|
|
import com.biutag.supervision.pojo.entity.DataPetitionComplaint; |
|
|
|
|
import com.biutag.supervision.pojo.entity.SupDepart; |
|
|
|
|
import com.biutag.supervision.pojo.entity.mailbox.Mail; |
|
|
|
|
import com.biutag.supervision.pojo.param.DataPetitionComplaintQueryParam; |
|
|
|
|
import com.biutag.supervision.pojo.vo.MailMapIconVo; |
|
|
|
|
import com.biutag.supervision.pojo.vo.MailOverviewVo; |
|
|
|
|
@ -161,7 +162,9 @@ public class DataMailService extends ServiceImpl<DataPetitionComplaintMapper, Da
|
|
|
|
|
Long numberMail = dataPetition12337Mapper.selectCount(queryWrapper12337); |
|
|
|
|
temp.setNumberMail(numberMail); |
|
|
|
|
System.out.println("12337信访数量:" + numberMail); |
|
|
|
|
Long manageMail = mailMapper.selectCount(null); |
|
|
|
|
QueryWrapper<Mail> mailQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
mailQueryWrapper.ne("mail_state", "terminated"); |
|
|
|
|
Long manageMail = mailMapper.selectCount(mailQueryWrapper); |
|
|
|
|
// 总数
|
|
|
|
|
Long totalMail = countryMail + policeMail + numberMail; |
|
|
|
|
temp.setCountryMail(countryMail); |
|
|
|
|
@ -224,7 +227,10 @@ public class DataMailService extends ServiceImpl<DataPetitionComplaintMapper, Da
|
|
|
|
|
Long numberMail = dataPetition12337Mapper.selectCount(queryWrapper12337); |
|
|
|
|
temp.setNumberMail(numberMail); |
|
|
|
|
System.out.println("12337信访数量:" + numberMail); |
|
|
|
|
Long manageMail = 0L; |
|
|
|
|
QueryWrapper<Mail> subOneMailQueryWrapper = new QueryWrapper<>(); |
|
|
|
|
subOneMailQueryWrapper.ne("mail_state", "terminated"); |
|
|
|
|
subOneMailQueryWrapper.eq("second_depart_id", departId); |
|
|
|
|
Long manageMail = mailMapper.selectCount(subOneMailQueryWrapper); |
|
|
|
|
// 总数
|
|
|
|
|
Long totalMail = countryMail + policeMail + numberMail; |
|
|
|
|
temp.setCountryMail(countryMail); |
|
|
|
|
|