Commit 8a2bbd56f77855f1ec07a18ddcfa5e054bb8b5a6

Authored by liquanyu
1 parent 8c1a728de1

高危匹配

Showing 1 changed file with 1 additions and 1 deletions

platform-common/src/main/java/com/lyms/platform/common/enums/DiagnoseEnums.java View file @ 8a2bbd5
... ... @@ -327,7 +327,7 @@
327 327 public static Integer getIdByName(String name)
328 328 {
329 329 for(DiagnoseDetailItemEnums s : DiagnoseDetailItemEnums.values()) {
330   - if (s.getTitle().equals(name))
  330 + if (s.getTitle().toLowerCase().equals(name.toLowerCase()))
331 331 {
332 332 return s.getId();
333 333 }