|
|
@ -61,7 +61,7 @@ import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/** |
|
|
|
* 网格建设打分表 |
|
|
|
* 网格建设打分表 |
|
|
|
* |
|
|
|
* @author elink elink@elink-cn.com |
|
|
|
* @since v1.0.0 2020-06-15 |
|
|
@ -313,27 +313,27 @@ public class KpiCommunityBuildingServiceImpl extends BaseServiceImpl<KpiCommunit |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
private Boolean checkScoreCell(KpiCommunityBuildingExcel kpiCommunityBuildingExcel){ |
|
|
|
// 民主协商机制分数(3分)
|
|
|
|
// 民主协商自治分数(3分)
|
|
|
|
String democraticConsultationMechanism = kpiCommunityBuildingExcel.getDemocraticConsultationMechanism(); |
|
|
|
if(ExcelUtils.checkNumber(democraticConsultationMechanism)){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
Double democraticConsultationMechanismDouble = Double.parseDouble(democraticConsultationMechanism); |
|
|
|
// 网格协商案例分数(4分)
|
|
|
|
// 加强和创新社区治理分数(5分)
|
|
|
|
String gridNegotiationCase = kpiCommunityBuildingExcel.getGridNegotiationCase(); |
|
|
|
if(ExcelUtils.checkNumber(gridNegotiationCase)){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
Double gridNegotiationCaseDouble = Double.parseDouble(gridNegotiationCase); |
|
|
|
// 居民公约制度分数(3分)
|
|
|
|
// 基层政权建设分数(2分)
|
|
|
|
String residentConventionSystem = kpiCommunityBuildingExcel.getResidentConventionSystem(); |
|
|
|
if(ExcelUtils.checkNumber(residentConventionSystem)){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
Double residentConventionSystemDouble = Double.parseDouble(residentConventionSystem); |
|
|
|
if(democraticConsultationMechanismDouble < 0 || democraticConsultationMechanismDouble > 3 |
|
|
|
|| gridNegotiationCaseDouble < 0 || gridNegotiationCaseDouble > 4 |
|
|
|
|| residentConventionSystemDouble < 0 || residentConventionSystemDouble > 3){ |
|
|
|
|| gridNegotiationCaseDouble < 0 || gridNegotiationCaseDouble > 5 |
|
|
|
|| residentConventionSystemDouble < 0 || residentConventionSystemDouble > 2){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
return false; |
|
|
@ -392,4 +392,4 @@ public class KpiCommunityBuildingServiceImpl extends BaseServiceImpl<KpiCommunit |
|
|
|
return entity; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|