Browse Source

问题类型兵饼状图分布

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
913363b6b8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/InspectionFileServiceImpl.java

+ 4
- 4
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/InspectionFileServiceImpl.java View File

@@ -216,8 +216,8 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
}
Integer name = questionType.getName();
//1横向裂缝
if(name == QuestionTypeEnum.ABEAM_CRACK_NAME.getCode()) {
//1横向裂缝
abeamCrackNum+=1;
}else if(name==QuestionTypeEnum.RETICULAR_CRACK_NAME.getCode()){
//3网状裂纹
@@ -229,7 +229,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
//5块状裂纹
massiveCrack+=1;
}else if(name == QuestionTypeEnum.PON_DING_NAME.getCode()){
//积水
//6积水
ponDingNum+=1;
}
}
@@ -285,8 +285,8 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
}
Integer name = questionType.getName();
//1坑槽
if(name==QuestionTypeEnum.ABEAM_CRACK_NAME.getCode()) {
//1横向裂缝
abeamCrackNum+=1;
}else if(name==QuestionTypeEnum.RETICULAR_CRACK_NAME.getCode()){
//3网状裂纹
@@ -298,7 +298,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
//5块状裂纹
massiveCrack+=1;
}else if(name == QuestionTypeEnum.PON_DING_NAME.getCode()){
//积水
//6积水
ponDingNum+=1;
}
}

Loading…
Cancel
Save