Commit 263a5553f157945018e1c60290880fedfd1799b0
1 parent
43c9aa6a21
Exists in
master
and in
8 other branches
修改基础数据接口
Showing 3 changed files with 14 additions and 10 deletions
platform-common/src/main/java/com/lyms/platform/common/enums/ServiceTypeEnums.java
View file @
263a555
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
263a555
| ... | ... | @@ -278,6 +278,10 @@ |
| 278 | 278 | List<BasicConfigResult> professionTypeResults = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.PROFESSION_TYPE_ID); |
| 279 | 279 | map.put("professionType",professionTypeResults); |
| 280 | 280 | |
| 281 | + //服务类型 | |
| 282 | + List servictType = ServiceTypeEnums.getServiceTypeList(); | |
| 283 | + map.put("servictType",servictType); | |
| 284 | + | |
| 281 | 285 | BaseObjectResponse objectResponse = new BaseObjectResponse(); |
| 282 | 286 | objectResponse.setData(map); |
| 283 | 287 | objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
263a555
| ... | ... | @@ -109,37 +109,37 @@ |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | |
| 112 | - Map<String,List> mapProvince = new HashMap<>(); | |
| 112 | + Map<String,List> typeMap = new HashMap<>(); | |
| 113 | 113 | |
| 114 | 114 | //证件类型 |
| 115 | 115 | List<BasicConfigResult> pcerteTypeResult = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.CERTE_TYPE_ID); |
| 116 | - mapProvince.put("certeType",pcerteTypeResult); | |
| 116 | + typeMap.put("certeType", pcerteTypeResult); | |
| 117 | 117 | |
| 118 | 118 | //国籍 |
| 119 | 119 | List<BasicConfigResult> countiryResults = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.COUNTRY_TYPE_ID); |
| 120 | - mapProvince.put("country",countiryResults); | |
| 120 | + typeMap.put("country", countiryResults); | |
| 121 | 121 | |
| 122 | 122 | // 民族 |
| 123 | 123 | List<BasicConfigResult> nationResults = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.NATION_TYPE_ID); |
| 124 | - mapProvince.put("nation",nationResults); | |
| 124 | + typeMap.put("nation", nationResults); | |
| 125 | 125 | |
| 126 | 126 | // 职业类别 |
| 127 | 127 | List<BasicConfigResult> professionTypeResults = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.PROFESSION_TYPE_ID); |
| 128 | - mapProvince.put("professionType",professionTypeResults); | |
| 128 | + typeMap.put("professionType", professionTypeResults); | |
| 129 | 129 | |
| 130 | 130 | // 户籍类别 |
| 131 | 131 | List<BasicConfigResult> censusType = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.CENSUS_TYPE_ID); |
| 132 | - mapProvince.put("censusType",censusType); | |
| 132 | + typeMap.put("censusType", censusType); | |
| 133 | 133 | |
| 134 | 134 | // 户籍类别 |
| 135 | 135 | List<BasicConfigResult> liveType = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.LIVE_TYPE_ID); |
| 136 | - mapProvince.put("liveType",liveType); | |
| 136 | + typeMap.put("liveType", liveType); | |
| 137 | 137 | |
| 138 | 138 | //服务类型 |
| 139 | 139 | List servictType = ServiceTypeEnums.getServiceTypeList(); |
| 140 | - mapProvince.put("servictType",servictType); | |
| 140 | + typeMap.put("servictType", servictType); | |
| 141 | 141 | |
| 142 | - list.add(mapProvince); | |
| 142 | + list.add(typeMap); | |
| 143 | 143 | |
| 144 | 144 | |
| 145 | 145 | Map<String,List> mapData = new HashMap<>(); |