Browse Source

'BUG'

master
daixiantong 4 years ago
parent
commit
3dfc4e06b5
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      src/main/java/com/taauav/admin/service/impl/TauvWaterDataServiceImpl.java

+ 1
- 5
src/main/java/com/taauav/admin/service/impl/TauvWaterDataServiceImpl.java View File

switch (driver.getCategory()) { switch (driver.getCategory()) {
case "categoryOne": case "categoryOne":
standardValue = item.getCategoryOne(); standardValue = item.getCategoryOne();
max = 1;
break; break;
case "categoryTwo": case "categoryTwo":
standardValue = item.getCategoryTwo(); standardValue = item.getCategoryTwo();
max = 2;
break; break;
case "categoryThree": case "categoryThree":
standardValue = item.getCategoryThree(); standardValue = item.getCategoryThree();
break; break;
case "categoryFour": case "categoryFour":
standardValue = item.getCategoryFour(); standardValue = item.getCategoryFour();
max = 4;
break; break;
case "categoryFive": case "categoryFive":
standardValue = item.getCategoryFive(); standardValue = item.getCategoryFive();
max = 5;
break; break;
default: default:
break; break;
} }
} }
if (category.equals("")) { if (category.equals("")) {
category = "Ⅴ";
category = "Ⅴ";
} }
return category; return category;
} }

Loading…
Cancel
Save