Commit 4cdefeae76cf55f8e66fcb980ecb06e3eab25a5c
1 parent
04b7010125
Exists in
master
and in
6 other branches
基础配置
Showing 2 changed files with 12 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
View file @
4cdefea
| ... | ... | @@ -302,6 +302,7 @@ |
| 302 | 302 | BasicConfigQuery basicConfigQuery = new BasicConfigQuery(); |
| 303 | 303 | basicConfigQuery.setYn(YnEnums.YES.getId()); |
| 304 | 304 | basicConfigQuery.setParentId(parentId); |
| 305 | + basicConfigQuery.setEnable(1); | |
| 305 | 306 | List<BasicConfig> datas = basicConfigService.queryBasicConfig(basicConfigQuery); |
| 306 | 307 | List<BasicConfigResult> configResults = new ArrayList<>(); |
| 307 | 308 | if (datas != null) { |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/BasicConfigUpdateRequest.java
View file @
4cdefea
| ... | ... | @@ -14,9 +14,20 @@ |
| 14 | 14 | private Integer score; |
| 15 | 15 | private String desc; |
| 16 | 16 | private String parentId; |
| 17 | + | |
| 18 | + private String parentName; | |
| 19 | + | |
| 17 | 20 | //权重 |
| 18 | 21 | private Integer weight; |
| 19 | 22 | private List childConfigs; |
| 23 | + | |
| 24 | + public String getParentName() { | |
| 25 | + return parentName; | |
| 26 | + } | |
| 27 | + | |
| 28 | + public void setParentName(String parentName) { | |
| 29 | + this.parentName = parentName; | |
| 30 | + } | |
| 20 | 31 | |
| 21 | 32 | public Integer getWeight() { |
| 22 | 33 | return weight; |