Commit 7e8191f9a51930b805df027f41d5ccbd25d2a138
1 parent
4e742bf6f8
Exists in
master
and in
8 other branches
update code
Showing 3 changed files with 9 additions and 9 deletions
platform-common/src/main/java/com/lyms/platform/common/enums/FyTypeEnums.java
View file @
7e8191f
| ... | ... | @@ -30,11 +30,11 @@ |
| 30 | 30 | return ""; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - public static List<Map> getFyTypeEnums() { | |
| 34 | - List<Map> list = new ArrayList<>(); | |
| 33 | + public static List<Map<String,String>> getFyTypeEnums() { | |
| 34 | + List<Map<String,String>> list = new ArrayList<>(); | |
| 35 | 35 | for (FyTypeEnums e : FyTypeEnums.values()) { |
| 36 | - Map rootMap = new HashMap(); | |
| 37 | - rootMap.put("id", e.getId()); | |
| 36 | + Map<String,String> rootMap = new HashMap(); | |
| 37 | + rootMap.put("id", String.valueOf(e.getId())); | |
| 38 | 38 | rootMap.put("name", e.getName()); |
| 39 | 39 | list.add(rootMap); |
| 40 | 40 | } |
platform-common/src/main/java/com/lyms/platform/common/enums/WyTypeEnums.java
View file @
7e8191f
| ... | ... | @@ -30,11 +30,11 @@ |
| 30 | 30 | return ""; |
| 31 | 31 | } |
| 32 | 32 | |
| 33 | - public static List<Map> getWyTypeEnums() { | |
| 34 | - List<Map> list = new ArrayList<>(); | |
| 33 | + public static List<Map<String,String>> getWyTypeEnums() { | |
| 34 | + List<Map<String,String>> list = new ArrayList<>(); | |
| 35 | 35 | for (WyTypeEnums e : WyTypeEnums.values()) { |
| 36 | - Map rootMap = new HashMap(); | |
| 37 | - rootMap.put("id", e.getId()); | |
| 36 | + Map<String,String> rootMap = new HashMap(); | |
| 37 | + rootMap.put("id", String.valueOf(e.getId())); | |
| 38 | 38 | rootMap.put("name", e.getName()); |
| 39 | 39 | list.add(rootMap); |
| 40 | 40 | } |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java
View file @
7e8191f
| ... | ... | @@ -418,7 +418,7 @@ |
| 418 | 418 | */ |
| 419 | 419 | private BabyCheckResult getBabyCheckResult(BabyCheckModel checkModel) { |
| 420 | 420 | BabyCheckResult model = new BabyCheckResult(); |
| 421 | - model.setId(model.getId()); | |
| 421 | + model.setId(checkModel.getId()); | |
| 422 | 422 | |
| 423 | 423 | model.setBuildId(checkModel.getBuildId()); |
| 424 | 424 |