Browse Source

补充级联

master
yinzuomei 4 years ago
parent
commit
685089b88a
  1. 4
      epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmettduck/struct/CascaderExpandStruct.java
  2. 2
      epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmettduck/impl/PrUserProjectServiceImpl.java

4
epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmettduck/struct/CascaderExpandStruct.java

@ -41,6 +41,10 @@ public class CascaderExpandStruct {
public Integer id;
public String label;
public String value;
/**
* 莹姐加了这个参数
*/
public String pid;
public List<Option> children;
}
}

2
epmet-module/data-aggregator/data-aggregator-server/src/main/java/com/epmet/dataaggre/service/epmettduck/impl/PrUserProjectServiceImpl.java

@ -366,7 +366,7 @@ public class PrUserProjectServiceImpl extends BaseServiceImpl<PrUserProjectDao,
continue;
}
//3.4级联
//3.4级联 todo
if(ProjectItemTypeEnum.CASCADER.getValue().equals(currentType)){
//目前cascaderExpandStruct 没啥用
CascaderExpandStruct cascaderExpandStruct = JSON.parseObject(item.getExpand(), CascaderExpandStruct.class);

Loading…
Cancel
Save