@@ -209,9 +209,8 @@
$("#quarter2").hide();
$("#month2").hide();
$('#detail').hide();
- $('#closeButton').hide();
rTable1();
- rTable("formId",2)
+ rTable2();
}
$(function() {
var options1 = {
@@ -319,7 +318,7 @@
title : '被投诉对象'
},
{
- field : 'complaintType',
+ field : 'enforceType',
title : '投诉类型',
formatter:function (value,row,index) {
for(let i=0;i deptMap=new HashMap<>();
if(searchType.getName()!=null&&!"".equals(searchType.getName())){//搜索条件内有投诉对象时
@@ -107,7 +107,7 @@ public class ComplaintStaticController extends BaseController {
public TableDataInfo list(SearchType searchType) {
ComplaintStatistics complaintStatistics=dateMake(searchType);
if(searchType.getcType()!=null&&!"".equals(searchType.getcType())) {
- complaintStatistics.setComplaintType(Integer.parseInt(searchType.getcType()));
+ complaintStatistics.setEnforceType(Integer.parseInt(searchType.getcType()));
}
if(searchType.getName()!=null&&!"".equals(searchType.getName())){//搜索条件内有投诉对象时
complaintStatistics.setComplaintDepartmentId(searchType.getName());
diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/ComplaintStatisticsImpl.java b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/ComplaintStatisticsImpl.java
index bbd83d05..82867f59 100644
--- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/ComplaintStatisticsImpl.java
+++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/service/impl/ComplaintStatisticsImpl.java
@@ -132,7 +132,7 @@ public class ComplaintStatisticsImpl implements ComplaintStatisticsService {
@Override
public List type(List complaintStatisticsList){
int number=complaintStatisticsList.size();
- Map map=complaintStatisticsList.stream().collect(Collectors.groupingBy(item->item.getComplaintType()==null?100:item.getComplaintType(),Collectors.counting()));
+ Map map=complaintStatisticsList.stream().collect(Collectors.groupingBy(item->item.getEnforceType()==null?100:item.getEnforceType(),Collectors.counting()));
Map dictDataMap=dictDataMapper.selectDictDataByType("caseType").stream().collect(Collectors.toMap(DictData::getDictValue,DictData::getDictLabel));
List list=new ArrayList<>();
for(int i:map.keySet()){
@@ -157,7 +157,7 @@ public class ComplaintStatisticsImpl implements ComplaintStatisticsService {
@Override
public List list1(SearchType searchType,ComplaintStatistics complaintStatistics){
if(searchType.getcType()!=null&&!"".equals(searchType.getcType())) {
- complaintStatistics.setComplaintType(Integer.parseInt(searchType.getcType()));
+ complaintStatistics.setEnforceType(Integer.parseInt(searchType.getcType()));
}
Map deptMap=new HashMap<>();
if(searchType.getName()!=null&&!"".equals(searchType.getName())){//搜索条件内有投诉对象时
diff --git a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/ComplaintStatisticsMapper.xml b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/ComplaintStatisticsMapper.xml
index 65b3974b..a2e0c4d0 100644
--- a/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/ComplaintStatisticsMapper.xml
+++ b/lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/ComplaintStatisticsMapper.xml
@@ -28,6 +28,7 @@
and complaint_department_id is not null
and complaint_department is not null
+ and enforce_type is not null
and complaint_department_id in
@@ -36,6 +37,7 @@
and complaint_department_id =#{complaintDepartmentId}and rid=#{rid}
+ and enforce_type=#{enforceType}and complaint_type=#{complaintType}
and DATE_FORMAT(complaint_time,'%Y-%m-%d') >= STR_TO_DATE(#{beginTime},'%Y-%m-%d')
@@ -50,12 +52,14 @@
and complaint_department_id is not null
and complaint_department is not null
+ and enforce_type is not null
and complaint_department_id in
#{complaintDepartmentIdList}
+ and enforce_type=#{enforceType}and complaint_type=#{complaintType}
and DATE_FORMAT(complaint_time,'%Y-%m-%d') >= STR_TO_DATE(#{beginTime},'%Y-%m-%d')
@@ -68,11 +72,13 @@