Commit f49b8cc3b6b36d6a432326240575f78e5020b353
1 parent
56118aa6ed
Exists in
master
and in
6 other branches
产检增加流产相关字段
Showing 2 changed files with 11 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BasicConfigFacade.java
View file @
f49b8cc
... | ... | @@ -75,6 +75,7 @@ |
75 | 75 | */ |
76 | 76 | public BaseResponse updateOneBasicConfig(BasicConfigUpdateRequest basicConfigUpdateRequest) { |
77 | 77 | BasicConfig obj = new BasicConfig(); |
78 | + obj.setWeight(basicConfigUpdateRequest.getWeight()); | |
78 | 79 | obj.setModifiedDate(System.currentTimeMillis()); |
79 | 80 | obj.setCode(basicConfigUpdateRequest.getCode()); |
80 | 81 | obj.setName(basicConfigUpdateRequest.getName()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/BasicConfigUpdateRequest.java
View file @
f49b8cc
... | ... | @@ -14,7 +14,17 @@ |
14 | 14 | private Integer score; |
15 | 15 | private String desc; |
16 | 16 | private String parentId; |
17 | + //权重 | |
18 | + private Integer weight; | |
17 | 19 | private List childConfigs; |
20 | + | |
21 | + public Integer getWeight() { | |
22 | + return weight; | |
23 | + } | |
24 | + | |
25 | + public void setWeight(Integer weight) { | |
26 | + this.weight = weight; | |
27 | + } | |
18 | 28 | |
19 | 29 | public List getChildConfigs() { |
20 | 30 | return childConfigs; |