Commit cd57c34e authored by shyWang's avatar shyWang

feat:PDM前端改造

获取部件copy对象自动检出问题修复
parent e2ef7905
...@@ -72,7 +72,7 @@ public class BaseSearchService <V extends IdVO> implements RemoteAccess { ...@@ -72,7 +72,7 @@ public class BaseSearchService <V extends IdVO> implements RemoteAccess {
WTObject wtObjectById = RfUtil.getWTObjectById(id); WTObject wtObjectById = RfUtil.getWTObjectById(id);
if (wtObjectById instanceof WTDocument) { if (wtObjectById instanceof WTDocument) {
WTDocument doc = (WTDocument) wtObjectById; WTDocument doc = (WTDocument) wtObjectById;
WTDocument workingCopyOfDoc = DocUtil.getWorkingCopyOfDoc(doc); WTDocument workingCopyOfDoc = (WTDocument) CommonUtil.getWorkingCopyVersion(doc);
idVO = new DxDocumentVO(workingCopyOfDoc); idVO = new DxDocumentVO(workingCopyOfDoc);
return idVO; return idVO;
} }
......
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