|
|
|
@ -314,7 +314,16 @@ public class KpiCaseHandlingServiceImpl extends BaseServiceImpl<KpiCaseHandlingD |
|
|
|
return true; |
|
|
|
} |
|
|
|
Double caseHandlingDouble = Double.parseDouble(caseHandling); |
|
|
|
if(caseHandlingDouble < 0 || caseHandlingDouble > 100){ |
|
|
|
|
|
|
|
// 奖励分值(2分)
|
|
|
|
String plusScore = kpiCaseHandlingExcel.getPlusScore(); |
|
|
|
if(ExcelUtils.checkNumber(plusScore)){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
Double plusScorelDouble = Double.parseDouble(plusScore); |
|
|
|
|
|
|
|
if(caseHandlingDouble < 0 || caseHandlingDouble > 100 |
|
|
|
|| plusScorelDouble < 0 || plusScorelDouble > 2){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
return false; |
|
|
|
@ -327,7 +336,8 @@ public class KpiCaseHandlingServiceImpl extends BaseServiceImpl<KpiCaseHandlingD |
|
|
|
*/ |
|
|
|
private Boolean checkNullCell(KpiCaseHandlingExcel kpiCaseHandlingExcel){ |
|
|
|
if(StringUtils.isBlank(kpiCaseHandlingExcel.getDeptId()) || StringUtils.isBlank(kpiCaseHandlingExcel.getDeptName()) || StringUtils.isBlank(kpiCaseHandlingExcel.getMonthYear()) |
|
|
|
|| StringUtils.isBlank(kpiCaseHandlingExcel.getCaseHandling())){ |
|
|
|
|| StringUtils.isBlank(kpiCaseHandlingExcel.getCaseHandling()) |
|
|
|
|| StringUtils.isBlank(kpiCaseHandlingExcel.getPlusScore())){ |
|
|
|
return true; |
|
|
|
} |
|
|
|
return false; |
|
|
|
|