Commit f3b193b5 authored by wei's avatar wei 🎱

获取项目裙下所有案卷并展开dxContext拼接案卷名称

parent 8aab228c
...@@ -3,6 +3,7 @@ package com.inet.dcs.document.core.service.impl; ...@@ -3,6 +3,7 @@ package com.inet.dcs.document.core.service.impl;
import com.inet.dcs.document.common.vo.ExtFilesDocLinkVO; import com.inet.dcs.document.common.vo.ExtFilesDocLinkVO;
import com.inet.dcs.document.common.vo.ExtFilesVO; import com.inet.dcs.document.common.vo.ExtFilesVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO; import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.core.constants.Constants;
import com.inet.dcs.document.core.repository.ExtFilesRepository; import com.inet.dcs.document.core.repository.ExtFilesRepository;
import com.inet.dcs.document.core.service.ExtDocService; import com.inet.dcs.document.core.service.ExtDocService;
import com.inet.dcs.document.core.service.ExtFilesDocLinkService; import com.inet.dcs.document.core.service.ExtFilesDocLinkService;
...@@ -138,8 +139,8 @@ public class ExtFilesServiceImpl<V extends ExtFilesVO> implements ExtFilesServic ...@@ -138,8 +139,8 @@ public class ExtFilesServiceImpl<V extends ExtFilesVO> implements ExtFilesServic
for (ExtFilesVO extFilesVO : extFilesVOList) { for (ExtFilesVO extFilesVO : extFilesVOList) {
DxContextVO dxContext = extFilesVO.getDxContext(); DxContextVO dxContext = extFilesVO.getDxContext();
String projectClass = dxContext.getDxContextExpand().getProjectClass(); String projectClass = dxContext.getDxContextExpand().getProjectClass();
projectClass = extDocService.searchDictDataByDictCode(Constants.PROJECT_CATEGORY, projectClass);
extFilesVO.setCaseName(extFilesVO.getCaseName() + "-" + projectClass + "(" + extFilesVO.getVolumeNumber() + ")"); extFilesVO.setCaseName(extFilesVO.getCaseName() + "-" + projectClass + "(" + extFilesVO.getVolumeNumber() + ")");
//dxContext.setProjectClass(extDocService.searchDictDataByDictCode(Constants.PROJECT_CATEGORY, projectClass));
} }
return extFilesVOList; return extFilesVOList;
} }
......
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