|
@@ -52,7 +52,7 @@ public class WbsTreeContractClientImpl implements WbsTreeContractClient {
|
|
|
//不知道为什么通过远程调用时实体字段不是想要的,所以中间用字段相同且不继承其它实体的类转换一次
|
|
|
List<WbsTreeContractTreeVOS> vos = JSONArray.parseArray(JSONObject.toJSONString(vo), WbsTreeContractTreeVOS.class);
|
|
|
vos.forEach(voData -> {
|
|
|
- voData.setLeaf(new Integer("6").equals(voData.getType()));
|
|
|
+ voData.setLeaf(new Integer("6").equals(voData.getDeptCategory()));
|
|
|
});
|
|
|
return vos;
|
|
|
}
|