Browse Source

监督端-首页统计

dev-V1.0.1
niujiyi 5 months ago
parent
commit
69c361e213
  1. 4
      zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/StatisticalPaneServiceCityImpl.java

4
zdxt-modules/zdxt-enforcement-code/src/main/java/com/zdxt/enforcementcode/service/impl/StatisticalPaneServiceCityImpl.java

@ -55,8 +55,6 @@ public class StatisticalPaneServiceCityImpl implements IStatisticalPaneCityServi
} }
if (deptIds.size() > 0) params.setFilterDepts(deptIds); if (deptIds.size() > 0) params.setFilterDepts(deptIds);
// params.setZone(1);
// List<EnforcementRegistration> allLawRegs = statisticalPanelCityMapper.query_law_all(params);
List<EnforcementRegistrationVo> allLawRegs = this.queryLawAll(params); List<EnforcementRegistrationVo> allLawRegs = this.queryLawAll(params);
Map<String, Double> singleLaw = new HashMap<>(); Map<String, Double> singleLaw = new HashMap<>();
@ -208,8 +206,6 @@ public class StatisticalPaneServiceCityImpl implements IStatisticalPaneCityServi
double rate = (double)(unionAllNum - duplicateUnionNos.size()) / allLawRegs.size() * 100; double rate = (double)(unionAllNum - duplicateUnionNos.size()) / allLawRegs.size() * 100;
entEeduction.put("rate", Double.isNaN(rate)?0:rate); entEeduction.put("rate", Double.isNaN(rate)?0:rate);
// 涉企投诉量
// List<EnterpriseComplaint> complaints = statisticalPanelCityMapper.query_complaint_all(params);
// 权限要单独写 // 权限要单独写
List<EnterpriseComplaintVo> complaints = this.queryComplaintAll(params); List<EnterpriseComplaintVo> complaints = this.queryComplaintAll(params);
entComplaint.put("count", Double.valueOf(complaints.size())); entComplaint.put("count", Double.valueOf(complaints.size()));

Loading…
Cancel
Save