瀏覽代碼

'BUG'

master
daixiantong 4 年之前
父節點
當前提交
3dfc4e06b5
共有 1 個檔案被更改,包括 1 行新增5 行删除
  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 查看文件

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

Loading…
取消
儲存