Explorar el Código

问题类型兵饼状图分布

tags/v1.0.0^2
chengwang hace 1 año
padre
commit
913363b6b8
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

@@ -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;
}
}

Cargando…
Cancelar
Guardar