Commit 7e0ef959438d461c94e96b24e7dc6473f620f77d
1 parent
0560c6b231
Exists in
master
and in
8 other branches
add data import :机构、部门、用户(医生)
Showing 2 changed files with 2 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/enums/OrganizationLevelEnum.java
View file @
7e0ef95
... | ... | @@ -38,7 +38,7 @@ |
38 | 38 | this.text = text; |
39 | 39 | } |
40 | 40 | |
41 | - public static IdTextModel getById(int id) { | |
41 | + public static IdTextModel getById(Integer id) { | |
42 | 42 | for (OrganizationLevelEnum e : OrganizationLevelEnum.values()) { |
43 | 43 | if(e.getId().equals(id)) { |
44 | 44 | return new IdTextModel(e.getId().toString(), e.getText()); |
platform-common/src/main/java/com/lyms/platform/common/enums/OrganizationTypeEnum.java
View file @
7e0ef95
... | ... | @@ -37,7 +37,7 @@ |
37 | 37 | this.text = text; |
38 | 38 | } |
39 | 39 | |
40 | - public static IdTextModel getById(int id) { | |
40 | + public static IdTextModel getById(Integer id) { | |
41 | 41 | for (OrganizationTypeEnum e : OrganizationTypeEnum.values()) { |
42 | 42 | if(e.getId().equals(id)) { |
43 | 43 | return new IdTextModel(e.getId().toString(), e.getText()); |