|
|
@@ -254,11 +254,9 @@ public class TauvWaterDataServiceImpl extends BaseServiceImpl<TauvWaterDataMappe |
|
|
|
switch (driver.getCategory()) { |
|
|
|
case "categoryOne": |
|
|
|
standardValue = item.getCategoryOne(); |
|
|
|
max = 1; |
|
|
|
break; |
|
|
|
case "categoryTwo": |
|
|
|
standardValue = item.getCategoryTwo(); |
|
|
|
max = 2; |
|
|
|
break; |
|
|
|
case "categoryThree": |
|
|
|
standardValue = item.getCategoryThree(); |
|
|
@@ -266,11 +264,9 @@ public class TauvWaterDataServiceImpl extends BaseServiceImpl<TauvWaterDataMappe |
|
|
|
break; |
|
|
|
case "categoryFour": |
|
|
|
standardValue = item.getCategoryFour(); |
|
|
|
max = 4; |
|
|
|
break; |
|
|
|
case "categoryFive": |
|
|
|
standardValue = item.getCategoryFive(); |
|
|
|
max = 5; |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
@@ -375,7 +371,7 @@ public class TauvWaterDataServiceImpl extends BaseServiceImpl<TauvWaterDataMappe |
|
|
|
} |
|
|
|
} |
|
|
|
if (category.equals("")) { |
|
|
|
category = "Ⅴ级"; |
|
|
|
category = "Ⅴ类"; |
|
|
|
} |
|
|
|
return category; |
|
|
|
} |