|
@@ -634,16 +634,14 @@ public class SbInfoServiceImpl extends BaseServiceImpl<SbInfoMapper, SbInfo, SbI
|
|
if (CollectionUtil.isNotEmpty(repairList)) {
|
|
if (CollectionUtil.isNotEmpty(repairList)) {
|
|
totalRepairNumber = repairList.size();
|
|
totalRepairNumber = repairList.size();
|
|
for (RepairApplicationForm repairApplicationForm : repairList) {
|
|
for (RepairApplicationForm repairApplicationForm : repairList) {
|
|
- if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN.getValue())) {
|
|
|
|
|
|
+ if (repairApplicationForm.getCategory() == null) {
|
|
|
|
+ noIdeaNumber++;
|
|
|
|
+ } else if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN.getValue())) {
|
|
planNumber++;
|
|
planNumber++;
|
|
- }
|
|
|
|
- if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN_NOT.getValue())) {
|
|
|
|
|
|
+ } else if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.PLAN_NOT.getValue())) {
|
|
notPlanNumber++;
|
|
notPlanNumber++;
|
|
- }
|
|
|
|
- if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.OTHER.getValue())) {
|
|
|
|
|
|
+ } else if (repairApplicationForm.getCategory().equals(RepairApplicationFormCategoryEnum.OTHER.getValue())) {
|
|
otherNumber++;
|
|
otherNumber++;
|
|
- } else {
|
|
|
|
- noIdeaNumber++;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|