Commit 9a2c6e4b authored by hanson.yao's avatar hanson.yao

Merge branch 'master' into master-cadpro

parents 86f0cded cd57c34e
...@@ -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