Commit c010bf21 by liuyang

修复文档管理编辑目录bug

parent a40c444e
...@@ -160,7 +160,7 @@ public class ServiceHGWD001F extends ServiceEPBase { ...@@ -160,7 +160,7 @@ public class ServiceHGWD001F extends ServiceEPBase {
.map(map -> map.get(HGWD001.FIELD_FILE_ID).toString()).collect(Collectors.toList()); .map(map -> map.get(HGWD001.FIELD_FILE_ID).toString()).collect(Collectors.toList());
List<HGWD099> hgwd099List = HGWDTools.HgWd099.queryByBiz("WD",childFileIdList); List<HGWD099> hgwd099List = HGWDTools.HgWd099.queryByBiz("WD",childFileIdList);
Map<String, List<HGWD099>> listMap = Optional.ofNullable(hgwd099List).orElse(new ArrayList<>()).stream().collect(Collectors.groupingBy(HGWD099::getBizId,Collectors.toList())); Map<String, List<HGWD099>> listMap = Optional.ofNullable(hgwd099List).orElse(new ArrayList<>()).stream().collect(Collectors.groupingBy(HGWD099::getBizId,Collectors.toList()));
int end = wd001out.getFilePath().length()+1; int end =wd001out ==null ? 0: wd001out.getFilePath().length()+1;
if (childList != null && childList.size() > 0) { if (childList != null && childList.size() > 0) {
for (Map child : childList) { for (Map child : childList) {
HGWD001 childOut = new HGWD001(); HGWD001 childOut = new HGWD001();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment