|
|
|
@ -6,6 +6,8 @@ import cn.hutool.core.util.NumberUtil; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
|
|
|
|
import com.biutag.supervision.common.UserContextHolder; |
|
|
|
|
|
|
|
import com.biutag.supervision.constants.AppConstants; |
|
|
|
import com.biutag.supervision.constants.enums.*; |
|
|
|
import com.biutag.supervision.constants.enums.*; |
|
|
|
import com.biutag.supervision.constants.enums.invest.DeleteStatusEnum; |
|
|
|
import com.biutag.supervision.constants.enums.invest.DeleteStatusEnum; |
|
|
|
import com.biutag.supervision.constants.enums.invest.ReportProjectNodeEnum; |
|
|
|
import com.biutag.supervision.constants.enums.invest.ReportProjectNodeEnum; |
|
|
|
@ -17,6 +19,7 @@ import com.biutag.supervision.pojo.dto.common.PieItem; |
|
|
|
import com.biutag.supervision.pojo.entity.*; |
|
|
|
import com.biutag.supervision.pojo.entity.*; |
|
|
|
import com.biutag.supervision.pojo.entity.mailbox.Mail; |
|
|
|
import com.biutag.supervision.pojo.entity.mailbox.Mail; |
|
|
|
import com.biutag.supervision.pojo.entity.report.ReportProject; |
|
|
|
import com.biutag.supervision.pojo.entity.report.ReportProject; |
|
|
|
|
|
|
|
import com.biutag.supervision.pojo.model.UserAuth; |
|
|
|
import com.biutag.supervision.pojo.param.*; |
|
|
|
import com.biutag.supervision.pojo.param.*; |
|
|
|
import com.biutag.supervision.pojo.param.dataAudit.DataAuditQueryParam; |
|
|
|
import com.biutag.supervision.pojo.param.dataAudit.DataAuditQueryParam; |
|
|
|
import com.biutag.supervision.pojo.request.datav.DataVRequest; |
|
|
|
import com.biutag.supervision.pojo.request.datav.DataVRequest; |
|
|
|
@ -31,18 +34,19 @@ import com.biutag.supervision.repository.reportproject.ReportProjectResourceServ |
|
|
|
import com.biutag.supervision.repository.supExternalDepart.SupExternalDepartResourceService; |
|
|
|
import com.biutag.supervision.repository.supExternalDepart.SupExternalDepartResourceService; |
|
|
|
import com.biutag.supervision.repository.supdepart.SupDepartResourceService; |
|
|
|
import com.biutag.supervision.repository.supdepart.SupDepartResourceService; |
|
|
|
import com.biutag.supervision.service.*; |
|
|
|
import com.biutag.supervision.service.*; |
|
|
|
|
|
|
|
import com.biutag.supervision.util.CompletableUtils.CompletableFutureUtil; |
|
|
|
import jakarta.annotation.Resource; |
|
|
|
import jakarta.annotation.Resource; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.math.RoundingMode; |
|
|
|
import java.math.RoundingMode; |
|
|
|
import java.time.ZoneId; |
|
|
|
import java.time.ZoneId; |
|
|
|
import java.util.*; |
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
import java.util.concurrent.CompletableFuture; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
import java.util.stream.Stream; |
|
|
|
|
|
|
|
|
|
|
|
import static com.biutag.supervision.constants.enums.DepartGroupEnum.COUNTY_CITY_BUREAUS; |
|
|
|
|
|
|
|
import static com.biutag.supervision.constants.enums.ProblemSourcesEnum.*; |
|
|
|
import static com.biutag.supervision.constants.enums.ProblemSourcesEnum.*; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
@ -125,6 +129,14 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
@Resource |
|
|
|
@Resource |
|
|
|
private SupDepartMapper supDepartMapper; |
|
|
|
private SupDepartMapper supDepartMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private NegativeMapper negativeMapper; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
|
|
|
private SuperviseReportService superviseReportService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private final String VALID_SIGN = "terminated"; |
|
|
|
private final String VALID_SIGN = "terminated"; |
|
|
|
private final String EX_SOURCE = "局长信箱"; |
|
|
|
private final String EX_SOURCE = "局长信箱"; |
|
|
|
|
|
|
|
|
|
|
|
@ -588,7 +600,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
List<SupDepart> bwzdDw = supDepartResourceService.query(supDepartQueryParam); |
|
|
|
List<SupDepart> bwzdDw = supDepartResourceService.query(supDepartQueryParam); |
|
|
|
for (SupDepart supDepart : fxsjDw) { |
|
|
|
for (SupDepart supDepart : fxsjDw) { |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.selectRightsList(supDepart.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.selectRightsList(supDepart.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)){ |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)) { |
|
|
|
BarItem barItem = new BarItem(supDepart.getShortName(), new BigDecimal(rpcApplyList.size())); |
|
|
|
BarItem barItem = new BarItem(supDepart.getShortName(), new BigDecimal(rpcApplyList.size())); |
|
|
|
countyRightsBarList.add(barItem); |
|
|
|
countyRightsBarList.add(barItem); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -596,7 +608,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
|
|
|
|
|
|
|
|
for (SupDepart supDepart : bwzdDw) { |
|
|
|
for (SupDepart supDepart : bwzdDw) { |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.selectRightsList(supDepart.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.selectRightsList(supDepart.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)){ |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)) { |
|
|
|
BarItem barItem = new BarItem(supDepart.getShortName(), new BigDecimal(rpcApplyList.size())); |
|
|
|
BarItem barItem = new BarItem(supDepart.getShortName(), new BigDecimal(rpcApplyList.size())); |
|
|
|
bureauRightsBarList.add(barItem); |
|
|
|
bureauRightsBarList.add(barItem); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -624,7 +636,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
Date beginTime = request.getBeginTime(); |
|
|
|
Date beginTime = request.getBeginTime(); |
|
|
|
Date endTime = request.getEndTime(); |
|
|
|
Date endTime = request.getEndTime(); |
|
|
|
// 发案环节
|
|
|
|
// 发案环节
|
|
|
|
List<EchartsVo> incidentLinkList =rpcApplyMapper.getIncidentLink(beginTime, endTime); |
|
|
|
List<EchartsVo> incidentLinkList = rpcApplyMapper.getIncidentLink(beginTime, endTime); |
|
|
|
// 发案警种
|
|
|
|
// 发案警种
|
|
|
|
List<EchartsVo> incidentPoliceList = rpcApplyMapper.getIncidentPolice(beginTime, endTime); |
|
|
|
List<EchartsVo> incidentPoliceList = rpcApplyMapper.getIncidentPolice(beginTime, endTime); |
|
|
|
// 发案单位
|
|
|
|
// 发案单位
|
|
|
|
@ -634,7 +646,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
List<EchartsVo> incidentOrgList = new ArrayList<>(); |
|
|
|
List<EchartsVo> incidentOrgList = new ArrayList<>(); |
|
|
|
for (SupDepart supDepart : fxsjDw) { |
|
|
|
for (SupDepart supDepart : fxsjDw) { |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.getIncidentOrg(beginTime, endTime, supDepart.getId()); |
|
|
|
List<RpcApply> rpcApplyList = rpcApplyMapper.getIncidentOrg(beginTime, endTime, supDepart.getId()); |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)){ |
|
|
|
if (CollectionUtil.isNotEmpty(rpcApplyList)) { |
|
|
|
EchartsVo barItem = new EchartsVo(supDepart.getShortName(), rpcApplyList.size()); |
|
|
|
EchartsVo barItem = new EchartsVo(supDepart.getShortName(), rpcApplyList.size()); |
|
|
|
incidentOrgList.add(barItem); |
|
|
|
incidentOrgList.add(barItem); |
|
|
|
} |
|
|
|
} |
|
|
|
@ -656,19 +668,20 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 维权抚慰 二级大屏 维权案件情况 |
|
|
|
* 维权抚慰 二级大屏 维权案件情况 |
|
|
|
|
|
|
|
* |
|
|
|
* @param request |
|
|
|
* @param request |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Result<JSONObject> getSubRightsBarList(SubDataVRequest request) { |
|
|
|
public Result<JSONObject> getSubRightsBarList(SubDataVRequest request) { |
|
|
|
// 维权案件情况 - 派出所
|
|
|
|
// 维权案件情况 - 派出所
|
|
|
|
List<BarItem> pcsList = rpcApplyMapper.selectSubPcsProtectRightsBarList(request.getBeginTime(), request.getEndTime(), Integer.valueOf(request.getDepartId()),10); |
|
|
|
List<BarItem> pcsList = rpcApplyMapper.selectSubPcsProtectRightsBarList(request.getBeginTime(), request.getEndTime(), Integer.valueOf(request.getDepartId()), 10); |
|
|
|
// 维权案件情况 - 大队
|
|
|
|
// 维权案件情况 - 大队
|
|
|
|
List<BarItem> dbList = rpcApplyMapper.selectSubDdProtectRightsBarList(request.getBeginTime(), request.getEndTime(), Integer.valueOf(request.getDepartId()),10); |
|
|
|
List<BarItem> dbList = rpcApplyMapper.selectSubDdProtectRightsBarList(request.getBeginTime(), request.getEndTime(), Integer.valueOf(request.getDepartId()), 10); |
|
|
|
|
|
|
|
|
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
.fluentPut("fxsjRightsRankList",pcsList) |
|
|
|
.fluentPut("fxsjRightsRankList", pcsList) |
|
|
|
.fluentPut("jsdwRightsRankList",dbList); |
|
|
|
.fluentPut("jsdwRightsRankList", dbList); |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -678,18 +691,18 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
List<BarItem> fxsjComfortMoneyRank = rpcApplyMapper.getSubPcComfortMoneyBarList(request.getBeginTime(), request.getEndTime(), request.getDepartId(), 10); |
|
|
|
List<BarItem> fxsjComfortMoneyRank = rpcApplyMapper.getSubPcComfortMoneyBarList(request.getBeginTime(), request.getEndTime(), request.getDepartId(), 10); |
|
|
|
List<BarItem> jsdwComfortMoneyRank = rpcApplyMapper.getSubDdComfortMoneyBarList(request.getBeginTime(), request.getEndTime(), request.getDepartId(), 10); |
|
|
|
List<BarItem> jsdwComfortMoneyRank = rpcApplyMapper.getSubDdComfortMoneyBarList(request.getBeginTime(), request.getEndTime(), request.getDepartId(), 10); |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
JSONObject data = new JSONObject() |
|
|
|
.fluentPut("fxsjComfortMoneyRank",fxsjComfortMoneyRank) |
|
|
|
.fluentPut("fxsjComfortMoneyRank", fxsjComfortMoneyRank) |
|
|
|
.fluentPut("jsdwComfortMoneyRank",jsdwComfortMoneyRank); |
|
|
|
.fluentPut("jsdwComfortMoneyRank", jsdwComfortMoneyRank); |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Result<JSONObject> getSubCaseType(SubDataVRequest request) { |
|
|
|
public Result<JSONObject> getSubCaseType(SubDataVRequest request) { |
|
|
|
List<EchartsVo> crownCaseBar =rpcApplyMapper.selectSubCaseData(request.getBeginTime(), request.getEndTime(),"1",Integer.valueOf(request.getDepartId())); |
|
|
|
List<EchartsVo> crownCaseBar = rpcApplyMapper.selectSubCaseData(request.getBeginTime(), request.getEndTime(), "1", Integer.valueOf(request.getDepartId())); |
|
|
|
//案件类别 - 行政
|
|
|
|
//案件类别 - 行政
|
|
|
|
List<EchartsVo> administrativeCase = rpcApplyMapper.selectSubCaseData(request.getBeginTime(), request.getEndTime(),"2",Integer.valueOf(request.getDepartId())); |
|
|
|
List<EchartsVo> administrativeCase = rpcApplyMapper.selectSubCaseData(request.getBeginTime(), request.getEndTime(), "2", Integer.valueOf(request.getDepartId())); |
|
|
|
JSONObject data = new JSONObject().fluentPut("crownCaseBar",crownCaseBar).fluentPut("administrativeCase",administrativeCase); |
|
|
|
JSONObject data = new JSONObject().fluentPut("crownCaseBar", crownCaseBar).fluentPut("administrativeCase", administrativeCase); |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -703,7 +716,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Result<JSONObject> getSubHitState(SubDataVRequest request) { |
|
|
|
public Result<JSONObject> getSubHitState(SubDataVRequest request) { |
|
|
|
List<PieItem> pieItems = rpcApplyMapper.getSubHitState(request.getBeginTime(), request.getEndTime(), request.getDepartId()); |
|
|
|
List<PieItem> pieItems = rpcApplyMapper.getSubHitState(request.getBeginTime(), request.getEndTime(), request.getDepartId()); |
|
|
|
JSONObject data = new JSONObject().fluentPut("PunishmentSituation",pieItems); |
|
|
|
JSONObject data = new JSONObject().fluentPut("PunishmentSituation", pieItems); |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -744,9 +757,9 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
.filter(s -> s.contains(",")) |
|
|
|
.filter(s -> s.contains(",")) |
|
|
|
.mapToLong(s -> s.split(",").length) // 拆分每个名称并计算拆分后的数组长度
|
|
|
|
.mapToLong(s -> s.split(",").length) // 拆分每个名称并计算拆分后的数组长度
|
|
|
|
.sum();// 计算所有拆分后数组长度的总和
|
|
|
|
.sum();// 计算所有拆分后数组长度的总和
|
|
|
|
if(tortNames.stream().noneMatch(s -> s.contains(","))){ |
|
|
|
if (tortNames.stream().noneMatch(s -> s.contains(","))) { |
|
|
|
comfortOverview.setHitTotal(initialListSize); |
|
|
|
comfortOverview.setHitTotal(initialListSize); |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
comfortOverview.setHitTotal(initialListSize + nums - hitPersonNumber); |
|
|
|
comfortOverview.setHitTotal(initialListSize + nums - hitPersonNumber); |
|
|
|
} |
|
|
|
} |
|
|
|
comfortOverview.setComfortMoney(rpcApplyMapper.selectMapComfortMoney(beginTime, endTime, departId)); |
|
|
|
comfortOverview.setComfortMoney(rpcApplyMapper.selectMapComfortMoney(beginTime, endTime, departId)); |
|
|
|
@ -756,7 +769,6 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Result<JSONObject> getFirstAndRepeatMail(DataVRequest request) { |
|
|
|
public Result<JSONObject> getFirstAndRepeatMail(DataVRequest request) { |
|
|
|
Date beginTime = request.getBeginTime(); |
|
|
|
Date beginTime = request.getBeginTime(); |
|
|
|
@ -849,7 +861,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
// 公安信访
|
|
|
|
// 公安信访
|
|
|
|
Long policeTotal = dataPetitionComplaintMapper.selectMailBySourceCode(beginTime, endTime, GABXF.getValue(), departId); |
|
|
|
Long policeTotal = dataPetitionComplaintMapper.selectMailBySourceCode(beginTime, endTime, GABXF.getValue(), departId); |
|
|
|
// 12337
|
|
|
|
// 12337
|
|
|
|
Long numTotal = dataPetition12337Service.count(new LambdaQueryWrapper<DataPetition12337>().between(DataPetition12337::getDiscoverTime, beginTime, endTime).eq(DataPetition12337::getSecondDepartId,departId)); |
|
|
|
Long numTotal = dataPetition12337Service.count(new LambdaQueryWrapper<DataPetition12337>().between(DataPetition12337::getDiscoverTime, beginTime, endTime).eq(DataPetition12337::getSecondDepartId, departId)); |
|
|
|
// 局长信箱
|
|
|
|
// 局长信箱
|
|
|
|
QueryWrapper<Mail> subOneMailQueryWrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<Mail> subOneMailQueryWrapper = new QueryWrapper<>(); |
|
|
|
String exDepartId = supExternalDepartMapper.getExIdByInId(departId.toString(), EX_SOURCE); |
|
|
|
String exDepartId = supExternalDepartMapper.getExIdByInId(departId.toString(), EX_SOURCE); |
|
|
|
@ -881,7 +893,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
List<OrganizeProblemRankVo> fxsjFirstRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, 10, RepeatEnum.FIRST_MAIL.getId(), request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> fxsjFirstRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, 10, RepeatEnum.FIRST_MAIL.getId(), request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> fxsjRepeatRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, 10, RepeatEnum.REPEAT_MAIL.getId(), request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> fxsjRepeatRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, 10, RepeatEnum.REPEAT_MAIL.getId(), request.getDepartId()); |
|
|
|
// 大队
|
|
|
|
// 大队
|
|
|
|
List<OrganizeProblemRankVo> bwzdFirstRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, null, RepeatEnum.FIRST_MAIL.getId(),request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> bwzdFirstRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, null, RepeatEnum.FIRST_MAIL.getId(), request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> bwzdRepeatRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, null, RepeatEnum.REPEAT_MAIL.getId(), request.getDepartId()); |
|
|
|
List<OrganizeProblemRankVo> bwzdRepeatRankList = dataPetitionComplaintMapper.getSubMailRank(beginTime, endTime, null, RepeatEnum.REPEAT_MAIL.getId(), request.getDepartId()); |
|
|
|
// 汇总(派出所)
|
|
|
|
// 汇总(派出所)
|
|
|
|
MailFirstAndRepeatOverviewVo fxsjOverview = new MailFirstAndRepeatOverviewVo(); |
|
|
|
MailFirstAndRepeatOverviewVo fxsjOverview = new MailFirstAndRepeatOverviewVo(); |
|
|
|
@ -915,7 +927,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
// 公安信访
|
|
|
|
// 公安信访
|
|
|
|
Long policeTotal = dataPetitionComplaintMapper.selectMailBySourceCode(beginTime, endTime, GABXF.getValue(), departId); |
|
|
|
Long policeTotal = dataPetitionComplaintMapper.selectMailBySourceCode(beginTime, endTime, GABXF.getValue(), departId); |
|
|
|
// 12337
|
|
|
|
// 12337
|
|
|
|
Long numTotal = dataPetition12337Service.count(new LambdaQueryWrapper<DataPetition12337>().between(DataPetition12337::getDiscoverTime, beginTime, endTime).eq(DataPetition12337::getSecondDepartId,departId)); |
|
|
|
Long numTotal = dataPetition12337Service.count(new LambdaQueryWrapper<DataPetition12337>().between(DataPetition12337::getDiscoverTime, beginTime, endTime).eq(DataPetition12337::getSecondDepartId, departId)); |
|
|
|
// 局长信箱
|
|
|
|
// 局长信箱
|
|
|
|
QueryWrapper<Mail> subOneMailQueryWrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<Mail> subOneMailQueryWrapper = new QueryWrapper<>(); |
|
|
|
String exDepartId = supExternalDepartMapper.getExIdByInId(departId.toString(), "局长信箱"); |
|
|
|
String exDepartId = supExternalDepartMapper.getExIdByInId(departId.toString(), "局长信箱"); |
|
|
|
@ -1015,7 +1027,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
long police = policeTotal == null ? 0L : policeTotal; |
|
|
|
long police = policeTotal == null ? 0L : policeTotal; |
|
|
|
long num = numTotal == null ? 0L : numTotal; |
|
|
|
long num = numTotal == null ? 0L : numTotal; |
|
|
|
long manage = manageMail == null ? 0L : manageMail; |
|
|
|
long manage = manageMail == null ? 0L : manageMail; |
|
|
|
Long total = country + police + num ; |
|
|
|
Long total = country + police + num; |
|
|
|
re.setCountryTotal(String.valueOf(country)); |
|
|
|
re.setCountryTotal(String.valueOf(country)); |
|
|
|
re.setPoliceTotal(String.valueOf(police)); |
|
|
|
re.setPoliceTotal(String.valueOf(police)); |
|
|
|
re.setCommissionerTotal(String.valueOf(manage)); |
|
|
|
re.setCommissionerTotal(String.valueOf(manage)); |
|
|
|
@ -1027,6 +1039,227 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
return Result.success(data); |
|
|
|
return Result.success(data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Result<JSONObject> getVideoSuperviseProblemRank(DataVRequest request) { |
|
|
|
|
|
|
|
List<OrganizeProblemRankVo> fxsjVideoSuperviseProblemRankList = new ArrayList<>(); |
|
|
|
|
|
|
|
List<OrganizeProblemRankVo> jsdwVideoSuperviseProblemRankList = new ArrayList<>(); |
|
|
|
|
|
|
|
SupDepartQueryParam supDepartQueryParam = new SupDepartQueryParam(); |
|
|
|
|
|
|
|
supDepartQueryParam.setStatisticsGroupId(DepartGroupEnum.COUNTY_CITY_BUREAUS.getId()); |
|
|
|
|
|
|
|
List<SupDepart> fxsjDw = supDepartResourceService.query(supDepartQueryParam); |
|
|
|
|
|
|
|
SupDepartQueryParam jsdwQueryParam = new SupDepartQueryParam(); |
|
|
|
|
|
|
|
jsdwQueryParam.setStatisticsGroupId(DepartGroupEnum.BUREAU_AFFILIATED.getId()); |
|
|
|
|
|
|
|
List<SupDepart> jsdwDw = supDepartResourceService.query(jsdwQueryParam); |
|
|
|
|
|
|
|
for (SupDepart fxsj : fxsjDw) { |
|
|
|
|
|
|
|
List<Negative> fxsjList = negativeMapper.getVideoSuperviseProblemRank(fxsj.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
// 总数
|
|
|
|
|
|
|
|
long total = fxsjList.size(); |
|
|
|
|
|
|
|
if (total==0){ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 市局下发
|
|
|
|
|
|
|
|
long sjxf = fxsjList.stream().filter(one -> Integer.valueOf(0).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
// 县局下发
|
|
|
|
|
|
|
|
long xjxf = fxsjList.stream().filter(one -> Integer.valueOf(2).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
OrganizeProblemRankVo organizeProblemRankVo = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
organizeProblemRankVo.setLabel(fxsj.getShortName()); |
|
|
|
|
|
|
|
organizeProblemRankVo.setCityNumber(String.valueOf(sjxf)); |
|
|
|
|
|
|
|
organizeProblemRankVo.setCountyNumber(String.valueOf(xjxf)); |
|
|
|
|
|
|
|
organizeProblemRankVo.setValue(String.valueOf(total)); |
|
|
|
|
|
|
|
fxsjVideoSuperviseProblemRankList.add(organizeProblemRankVo); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
for (SupDepart jsdw : jsdwDw) { |
|
|
|
|
|
|
|
List<Negative> fxsjList = negativeMapper.getVideoSuperviseProblemRank(jsdw.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
// 总数
|
|
|
|
|
|
|
|
long total = fxsjList.size(); |
|
|
|
|
|
|
|
if (total==0){ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 市局下发
|
|
|
|
|
|
|
|
long sjxf = fxsjList.stream().filter(one -> Integer.valueOf(0).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
// 县局下发
|
|
|
|
|
|
|
|
long xjxf = fxsjList.stream().filter(one -> Integer.valueOf(2).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
OrganizeProblemRankVo organizeProblemRankVo = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
organizeProblemRankVo.setLabel(jsdw.getShortName()); |
|
|
|
|
|
|
|
organizeProblemRankVo.setCityNumber(String.valueOf(sjxf)); |
|
|
|
|
|
|
|
organizeProblemRankVo.setCountyNumber(String.valueOf(xjxf)); |
|
|
|
|
|
|
|
organizeProblemRankVo.setValue(String.valueOf(total)); |
|
|
|
|
|
|
|
jsdwVideoSuperviseProblemRankList.add(organizeProblemRankVo); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 排序
|
|
|
|
|
|
|
|
fxsjVideoSuperviseProblemRankList.sort( |
|
|
|
|
|
|
|
Comparator.comparingLong((OrganizeProblemRankVo vo) -> Long.parseLong(vo.getValue())) |
|
|
|
|
|
|
|
.reversed() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
jsdwVideoSuperviseProblemRankList.sort( |
|
|
|
|
|
|
|
Comparator.comparingLong((OrganizeProblemRankVo vo) -> Long.parseLong(vo.getValue())) |
|
|
|
|
|
|
|
.reversed() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject data = new JSONObject(); |
|
|
|
|
|
|
|
data.fluentPut("fxsjVideoSuperviseProblemRankList", fxsjVideoSuperviseProblemRankList); |
|
|
|
|
|
|
|
data.fluentPut("jsdwVideoSuperviseProblemRankList", jsdwVideoSuperviseProblemRankList); |
|
|
|
|
|
|
|
return Result.success(data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Result<JSONObject> getChangedRank(DataVRequest request) { |
|
|
|
|
|
|
|
List<RankVo> fxsjChangedRankList = new ArrayList<>(); |
|
|
|
|
|
|
|
List<RankVo> jsdwChangedRankList = new ArrayList<>(); |
|
|
|
|
|
|
|
SupDepartQueryParam supDepartQueryParam = new SupDepartQueryParam(); |
|
|
|
|
|
|
|
supDepartQueryParam.setStatisticsGroupId(DepartGroupEnum.COUNTY_CITY_BUREAUS.getId()); |
|
|
|
|
|
|
|
List<SupDepart> fxsjDw = supDepartResourceService.query(supDepartQueryParam); |
|
|
|
|
|
|
|
SupDepartQueryParam jsdwQueryParam = new SupDepartQueryParam(); |
|
|
|
|
|
|
|
jsdwQueryParam.setStatisticsGroupId(DepartGroupEnum.BUREAU_AFFILIATED.getId()); |
|
|
|
|
|
|
|
List<SupDepart> jsdwDw = supDepartResourceService.query(jsdwQueryParam); |
|
|
|
|
|
|
|
for (SupDepart fxsj : fxsjDw) { |
|
|
|
|
|
|
|
List<Negative> negativeList = negativeMapper.getChangedRank(fxsj.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
// 问题数
|
|
|
|
|
|
|
|
int totalPro = negativeList.size(); |
|
|
|
|
|
|
|
if (totalPro==0){ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 办结数
|
|
|
|
|
|
|
|
long completed = negativeList.stream().filter(Objects::nonNull).filter(one -> ProcessingStatusEnum.completed.name().equals(one.getProcessingStatus())).count(); |
|
|
|
|
|
|
|
// 市局下发
|
|
|
|
|
|
|
|
long sjxf = negativeList.stream().filter(Objects::nonNull).filter(one -> Integer.valueOf(0).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
// 县局下发
|
|
|
|
|
|
|
|
long xjxf = negativeList.stream().filter(Objects::nonNull).filter(one -> Integer.valueOf(2).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
String rate = BigDecimal.valueOf(completed) |
|
|
|
|
|
|
|
.multiply(BigDecimal.valueOf(100)) |
|
|
|
|
|
|
|
.divide(BigDecimal.valueOf(totalPro), 1, RoundingMode.HALF_UP) |
|
|
|
|
|
|
|
.toString(); |
|
|
|
|
|
|
|
RankVo rankVo = new RankVo(); |
|
|
|
|
|
|
|
rankVo.setLabel(fxsj.getShortName()); |
|
|
|
|
|
|
|
rankVo.setDepartId(fxsj.getId()); |
|
|
|
|
|
|
|
rankVo.setCityNumber(String.valueOf(sjxf)); |
|
|
|
|
|
|
|
rankVo.setCountyNumber(String.valueOf(xjxf)); |
|
|
|
|
|
|
|
rankVo.setNumerator(String.valueOf(completed)); |
|
|
|
|
|
|
|
rankVo.setDenominator(String.valueOf(totalPro)); |
|
|
|
|
|
|
|
rankVo.setValue(rate); |
|
|
|
|
|
|
|
rankVo.setRate(rate); |
|
|
|
|
|
|
|
fxsjChangedRankList.add(rankVo); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
for (SupDepart jsdw : jsdwDw) { |
|
|
|
|
|
|
|
List<Negative> negativeList = negativeMapper.getChangedRank(jsdw.getId(), request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
// 问题数
|
|
|
|
|
|
|
|
int totalPro = negativeList.size(); |
|
|
|
|
|
|
|
if (totalPro==0){ |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 办结数
|
|
|
|
|
|
|
|
long completed = negativeList.stream().filter(Objects::nonNull).filter(one -> ProcessingStatusEnum.completed.name().equals(one.getProcessingStatus())).count(); |
|
|
|
|
|
|
|
// 市局下发
|
|
|
|
|
|
|
|
long sjxf = negativeList.stream().filter(Objects::nonNull).filter(one -> Integer.valueOf(0).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
// 县局下发
|
|
|
|
|
|
|
|
long xjxf = negativeList.stream().filter(Objects::nonNull).filter(one -> Integer.valueOf(2).equals(one.getCrtDepartLevel())).count(); |
|
|
|
|
|
|
|
String rate = BigDecimal.valueOf(completed) |
|
|
|
|
|
|
|
.multiply(BigDecimal.valueOf(100)) |
|
|
|
|
|
|
|
.divide(BigDecimal.valueOf(totalPro), 1, RoundingMode.HALF_UP) |
|
|
|
|
|
|
|
.toString(); |
|
|
|
|
|
|
|
RankVo rankVo = new RankVo(); |
|
|
|
|
|
|
|
rankVo.setLabel(jsdw.getShortName()); |
|
|
|
|
|
|
|
rankVo.setDepartId(jsdw.getId()); |
|
|
|
|
|
|
|
rankVo.setCityNumber(String.valueOf(sjxf)); |
|
|
|
|
|
|
|
rankVo.setCountyNumber(String.valueOf(xjxf)); |
|
|
|
|
|
|
|
rankVo.setNumerator(String.valueOf(completed)); |
|
|
|
|
|
|
|
rankVo.setDenominator(String.valueOf(totalPro)); |
|
|
|
|
|
|
|
rankVo.setValue(rate); |
|
|
|
|
|
|
|
rankVo.setRate(rate); |
|
|
|
|
|
|
|
jsdwChangedRankList.add(rankVo); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fxsjChangedRankList.sort( |
|
|
|
|
|
|
|
Comparator.comparingLong((RankVo vo) -> Long.parseLong(vo.getDenominator())) |
|
|
|
|
|
|
|
.reversed() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jsdwChangedRankList.sort( |
|
|
|
|
|
|
|
Comparator.comparingLong((RankVo vo) -> Long.parseLong(vo.getDenominator())) |
|
|
|
|
|
|
|
.reversed() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
long total = Stream.concat(fxsjChangedRankList.stream(), jsdwChangedRankList.stream()) |
|
|
|
|
|
|
|
.mapToLong(vo -> Long.parseLong(vo.getDenominator())) |
|
|
|
|
|
|
|
.sum(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
long completed = Stream.concat(fxsjChangedRankList.stream(), jsdwChangedRankList.stream()) |
|
|
|
|
|
|
|
.mapToLong(vo -> Long.parseLong(vo.getNumerator())) |
|
|
|
|
|
|
|
.sum(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
long processing = total - completed; |
|
|
|
|
|
|
|
double rate = total == 0 ? 0.0 : BigDecimal.valueOf(completed) |
|
|
|
|
|
|
|
.multiply(BigDecimal.valueOf(100)) |
|
|
|
|
|
|
|
.divide(BigDecimal.valueOf(total), 1, RoundingMode.HALF_UP) |
|
|
|
|
|
|
|
.doubleValue(); |
|
|
|
|
|
|
|
DayTimeSuperviseVo overview = new DayTimeSuperviseVo(); |
|
|
|
|
|
|
|
overview.setProTotal((int) total); |
|
|
|
|
|
|
|
overview.setProcessingNumber(processing); |
|
|
|
|
|
|
|
overview.setCompletedNumber(completed); |
|
|
|
|
|
|
|
overview.setCompletedRate(rate); |
|
|
|
|
|
|
|
JSONObject data = new JSONObject() |
|
|
|
|
|
|
|
.fluentPut("fxsjChangedRankList", fxsjChangedRankList) |
|
|
|
|
|
|
|
.fluentPut("jsdwChangedRankList", jsdwChangedRankList) |
|
|
|
|
|
|
|
.fluentPut("overview", overview); |
|
|
|
|
|
|
|
return Result.success(data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Result<SupervisionNotifyOverView> getSupervisionNotifyCount(DataVRequest request) { |
|
|
|
|
|
|
|
SupervisionNotifyOverView overView = new SupervisionNotifyOverView(); |
|
|
|
|
|
|
|
List<String> proCode = List.of(XCDC.getValue(), LMGZ.getValue(), ZXDC.getValue()); |
|
|
|
|
|
|
|
LambdaQueryWrapper<Negative> negativeLambdaQueryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
|
|
|
negativeLambdaQueryWrapper.between(Negative::getCrtTime, request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
negativeLambdaQueryWrapper.in(Negative::getProblemSourcesCode, proCode); |
|
|
|
|
|
|
|
List<Negative> negatives = negativeMapper.selectList(negativeLambdaQueryWrapper); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Negative> completedList = negatives.stream().filter(item -> ProcessingStatusEnum.completed.name().equals(item.getProcessingStatus())).toList(); |
|
|
|
|
|
|
|
List<Negative> processingList = negatives.stream().filter(item -> ProcessingStatusEnum.processing.name().equals(item.getProcessingStatus())).toList(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LambdaQueryWrapper<SuperviseReport> superviseReportLambdaQueryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
|
|
|
|
UserAuth user = UserContextHolder.getCurrentUser(); |
|
|
|
|
|
|
|
// 权限
|
|
|
|
|
|
|
|
if (!AppConstants.USER_TYPE_SUPER.equals(user.getUserType()) && !user.getRoleCodes().contains(RoleCodeEnum.FIRST_ADMIN.getCode())) { |
|
|
|
|
|
|
|
if (user.getAuthDepartIds().isEmpty() || user.getRoleCodes().isEmpty()) { |
|
|
|
|
|
|
|
//特殊处理
|
|
|
|
|
|
|
|
overView.setReportNumber(0L); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
List<String> orgIds = supDepartService.getAllNodeIds(user.getAuthDepartIds()); |
|
|
|
|
|
|
|
superviseReportLambdaQueryWrapper.in(SuperviseReport::getCrtDepartId, orgIds); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
superviseReportLambdaQueryWrapper.between(SuperviseReport::getCrtTime, request.getBeginTime(), request.getEndTime()); |
|
|
|
|
|
|
|
superviseReportLambdaQueryWrapper.eq(SuperviseReport::getType, "1"); |
|
|
|
|
|
|
|
List<SuperviseReport> superviseReportList = superviseReportService.list(superviseReportLambdaQueryWrapper); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<String> negativeIds = negatives.stream().filter(item -> InspectCaseEnum.isItTure(item.getCheckStatus())).map(Negative::getId).toList(); |
|
|
|
|
|
|
|
CompletableFuture.allOf( |
|
|
|
|
|
|
|
CompletableFutureUtil.runSyncObject(() -> { |
|
|
|
|
|
|
|
long personNumber = negativeIds.isEmpty() ? 0 : negativeBlameService.count(new LambdaQueryWrapper<NegativeBlame>().in(NegativeBlame::getNegativeId, negativeIds) |
|
|
|
|
|
|
|
.eq(NegativeBlame::getType, "personal") |
|
|
|
|
|
|
|
.ne(NegativeBlame::getHandleResultName, "不予追责") |
|
|
|
|
|
|
|
.isNotNull(NegativeBlame::getHandleResultName) |
|
|
|
|
|
|
|
.ne(NegativeBlame::getHandleResultName, "")); |
|
|
|
|
|
|
|
overView.setPersonNumber(personNumber); |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
CompletableFutureUtil.runSyncObject(() -> { |
|
|
|
|
|
|
|
long departNumber = negativeIds.isEmpty() ? 0 : negativeBlameService.count(new LambdaQueryWrapper<NegativeBlame>().in(NegativeBlame::getNegativeId, negativeIds) |
|
|
|
|
|
|
|
.eq(NegativeBlame::getType, "department") |
|
|
|
|
|
|
|
.ne(NegativeBlame::getHandleResultName, "不予追责") |
|
|
|
|
|
|
|
.isNotNull(NegativeBlame::getHandleResultName) |
|
|
|
|
|
|
|
.ne(NegativeBlame::getHandleResultName, "")); |
|
|
|
|
|
|
|
overView.setDepartNumber(departNumber); |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
).join(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 通报问题数
|
|
|
|
|
|
|
|
overView.setProblemNumber(negatives.size()); |
|
|
|
|
|
|
|
// 通报期数
|
|
|
|
|
|
|
|
overView.setReportNumber((long) superviseReportList.size()); |
|
|
|
|
|
|
|
// 办理中
|
|
|
|
|
|
|
|
overView.setProcessingNumber((long) processingList.size()); |
|
|
|
|
|
|
|
// 已办结
|
|
|
|
|
|
|
|
overView.setCompletedNumber((long) completedList.size()); |
|
|
|
|
|
|
|
return Result.success(overView); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Result<JSONObject> getSubOneMailMapIcon() { |
|
|
|
public Result<JSONObject> getSubOneMailMapIcon() { |
|
|
|
|
|
|
|
|
|
|
|
@ -1197,33 +1430,87 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
|
|
|
|
|
|
|
|
// ===== 分县市局 - 群体集访 =====
|
|
|
|
// ===== 分县市局 - 群体集访 =====
|
|
|
|
List<OrganizeProblemRankVo> fxsjMassMailList = new ArrayList<>(); |
|
|
|
List<OrganizeProblemRankVo> fxsjMassMailList = new ArrayList<>(); |
|
|
|
OrganizeProblemRankVo v1 = new OrganizeProblemRankVo(); v1.setLabel("浏阳市局"); v1.setValue("126"); fxsjMassMailList.add(v1); |
|
|
|
OrganizeProblemRankVo v1 = new OrganizeProblemRankVo(); |
|
|
|
OrganizeProblemRankVo v2 = new OrganizeProblemRankVo(); v2.setLabel("宁乡市局"); v2.setValue("98"); fxsjMassMailList.add(v2); |
|
|
|
v1.setLabel("浏阳市局"); |
|
|
|
OrganizeProblemRankVo v3 = new OrganizeProblemRankVo(); v3.setLabel("长沙县局"); v3.setValue("86"); fxsjMassMailList.add(v3); |
|
|
|
v1.setValue("126"); |
|
|
|
OrganizeProblemRankVo v4 = new OrganizeProblemRankVo(); v4.setLabel("望城区局"); v4.setValue("74"); fxsjMassMailList.add(v4); |
|
|
|
fxsjMassMailList.add(v1); |
|
|
|
OrganizeProblemRankVo v5 = new OrganizeProblemRankVo(); v5.setLabel("岳麓分局"); v5.setValue("63"); fxsjMassMailList.add(v5); |
|
|
|
OrganizeProblemRankVo v2 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v2.setLabel("宁乡市局"); |
|
|
|
|
|
|
|
v2.setValue("98"); |
|
|
|
|
|
|
|
fxsjMassMailList.add(v2); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v3 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v3.setLabel("长沙县局"); |
|
|
|
|
|
|
|
v3.setValue("86"); |
|
|
|
|
|
|
|
fxsjMassMailList.add(v3); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v4 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v4.setLabel("望城区局"); |
|
|
|
|
|
|
|
v4.setValue("74"); |
|
|
|
|
|
|
|
fxsjMassMailList.add(v4); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v5 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v5.setLabel("岳麓分局"); |
|
|
|
|
|
|
|
v5.setValue("63"); |
|
|
|
|
|
|
|
fxsjMassMailList.add(v5); |
|
|
|
|
|
|
|
|
|
|
|
// ===== 分县市局 - 领导接访 =====
|
|
|
|
// ===== 分县市局 - 领导接访 =====
|
|
|
|
List<OrganizeProblemRankVo> fxsjLeaderReviewMailList = new ArrayList<>(); |
|
|
|
List<OrganizeProblemRankVo> fxsjLeaderReviewMailList = new ArrayList<>(); |
|
|
|
OrganizeProblemRankVo v6 = new OrganizeProblemRankVo(); v6.setLabel("浏阳市局"); v6.setValue("34"); fxsjLeaderReviewMailList.add(v6); |
|
|
|
OrganizeProblemRankVo v6 = new OrganizeProblemRankVo(); |
|
|
|
OrganizeProblemRankVo v7 = new OrganizeProblemRankVo(); v7.setLabel("宁乡市局"); v7.setValue("28"); fxsjLeaderReviewMailList.add(v7); |
|
|
|
v6.setLabel("浏阳市局"); |
|
|
|
OrganizeProblemRankVo v8 = new OrganizeProblemRankVo(); v8.setLabel("长沙县局"); v8.setValue("25"); fxsjLeaderReviewMailList.add(v8); |
|
|
|
v6.setValue("34"); |
|
|
|
OrganizeProblemRankVo v9 = new OrganizeProblemRankVo(); v9.setLabel("望城区局"); v9.setValue("19"); fxsjLeaderReviewMailList.add(v9); |
|
|
|
fxsjLeaderReviewMailList.add(v6); |
|
|
|
OrganizeProblemRankVo v10 = new OrganizeProblemRankVo(); v10.setLabel("岳麓分局"); v10.setValue("16"); fxsjLeaderReviewMailList.add(v10); |
|
|
|
OrganizeProblemRankVo v7 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v7.setLabel("宁乡市局"); |
|
|
|
|
|
|
|
v7.setValue("28"); |
|
|
|
|
|
|
|
fxsjLeaderReviewMailList.add(v7); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v8 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v8.setLabel("长沙县局"); |
|
|
|
|
|
|
|
v8.setValue("25"); |
|
|
|
|
|
|
|
fxsjLeaderReviewMailList.add(v8); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v9 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v9.setLabel("望城区局"); |
|
|
|
|
|
|
|
v9.setValue("19"); |
|
|
|
|
|
|
|
fxsjLeaderReviewMailList.add(v9); |
|
|
|
|
|
|
|
OrganizeProblemRankVo v10 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
v10.setLabel("岳麓分局"); |
|
|
|
|
|
|
|
v10.setValue("16"); |
|
|
|
|
|
|
|
fxsjLeaderReviewMailList.add(v10); |
|
|
|
|
|
|
|
|
|
|
|
// ===== 局属单位 - 群体集访 =====
|
|
|
|
// ===== 局属单位 - 群体集访 =====
|
|
|
|
List<OrganizeProblemRankVo> bwzdMassMailList = new ArrayList<>(); |
|
|
|
List<OrganizeProblemRankVo> bwzdMassMailList = new ArrayList<>(); |
|
|
|
OrganizeProblemRankVo b1 = new OrganizeProblemRankVo(); b1.setLabel("治安支队"); b1.setValue("47"); bwzdMassMailList.add(b1); |
|
|
|
OrganizeProblemRankVo b1 = new OrganizeProblemRankVo(); |
|
|
|
OrganizeProblemRankVo b2 = new OrganizeProblemRankVo(); b2.setLabel("刑侦支队"); b2.setValue("39"); bwzdMassMailList.add(b2); |
|
|
|
b1.setLabel("治安支队"); |
|
|
|
OrganizeProblemRankVo b3 = new OrganizeProblemRankVo(); b3.setLabel("交警支队"); b3.setValue("33"); bwzdMassMailList.add(b3); |
|
|
|
b1.setValue("47"); |
|
|
|
OrganizeProblemRankVo b4 = new OrganizeProblemRankVo(); b4.setLabel("网安支队"); b4.setValue("28"); bwzdMassMailList.add(b4); |
|
|
|
bwzdMassMailList.add(b1); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b2 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b2.setLabel("刑侦支队"); |
|
|
|
|
|
|
|
b2.setValue("39"); |
|
|
|
|
|
|
|
bwzdMassMailList.add(b2); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b3 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b3.setLabel("交警支队"); |
|
|
|
|
|
|
|
b3.setValue("33"); |
|
|
|
|
|
|
|
bwzdMassMailList.add(b3); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b4 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b4.setLabel("网安支队"); |
|
|
|
|
|
|
|
b4.setValue("28"); |
|
|
|
|
|
|
|
bwzdMassMailList.add(b4); |
|
|
|
|
|
|
|
|
|
|
|
// ===== 局属单位 - 领导接访 =====
|
|
|
|
// ===== 局属单位 - 领导接访 =====
|
|
|
|
List<OrganizeProblemRankVo> bwzdLeaderReviewMailList = new ArrayList<>(); |
|
|
|
List<OrganizeProblemRankVo> bwzdLeaderReviewMailList = new ArrayList<>(); |
|
|
|
OrganizeProblemRankVo b5 = new OrganizeProblemRankVo(); b5.setLabel("治安支队"); b5.setValue("14"); bwzdLeaderReviewMailList.add(b5); |
|
|
|
OrganizeProblemRankVo b5 = new OrganizeProblemRankVo(); |
|
|
|
OrganizeProblemRankVo b6 = new OrganizeProblemRankVo(); b6.setLabel("刑侦支队"); b6.setValue("11"); bwzdLeaderReviewMailList.add(b6); |
|
|
|
b5.setLabel("治安支队"); |
|
|
|
OrganizeProblemRankVo b7 = new OrganizeProblemRankVo(); b7.setLabel("交警支队"); b7.setValue("9"); bwzdLeaderReviewMailList.add(b7); |
|
|
|
b5.setValue("14"); |
|
|
|
OrganizeProblemRankVo b8 = new OrganizeProblemRankVo(); b8.setLabel("网安支队"); b8.setValue("6"); bwzdLeaderReviewMailList.add(b8); |
|
|
|
bwzdLeaderReviewMailList.add(b5); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b6 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b6.setLabel("刑侦支队"); |
|
|
|
|
|
|
|
b6.setValue("11"); |
|
|
|
|
|
|
|
bwzdLeaderReviewMailList.add(b6); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b7 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b7.setLabel("交警支队"); |
|
|
|
|
|
|
|
b7.setValue("9"); |
|
|
|
|
|
|
|
bwzdLeaderReviewMailList.add(b7); |
|
|
|
|
|
|
|
OrganizeProblemRankVo b8 = new OrganizeProblemRankVo(); |
|
|
|
|
|
|
|
b8.setLabel("网安支队"); |
|
|
|
|
|
|
|
b8.setValue("6"); |
|
|
|
|
|
|
|
bwzdLeaderReviewMailList.add(b8); |
|
|
|
|
|
|
|
|
|
|
|
// ===== 汇总(分县市局)=====
|
|
|
|
// ===== 汇总(分县市局)=====
|
|
|
|
MailEntanglementMassOverviewVo fxsjOverview = new MailEntanglementMassOverviewVo(); |
|
|
|
MailEntanglementMassOverviewVo fxsjOverview = new MailEntanglementMassOverviewVo(); |
|
|
|
|