|
|
@@ -32,6 +32,7 @@ import com.trs.exchange.DataMigrationLogger;
|
|
|
import com.trs.exchange.ExchangeHelper;
|
|
|
import com.trs.exchange.MyDBManager;
|
|
|
import com.trs.exchange.mas.MediaHelper;
|
|
|
+import com.trs.gov.editorcenter.document.IGovDocumentMgr;
|
|
|
import com.trs.infra.I18NMessage;
|
|
|
import com.trs.infra.common.WCMException;
|
|
|
import com.trs.infra.persistent.WCMFilter;
|
|
|
@@ -64,6 +65,9 @@ public abstract class MetaDataExchange {
|
|
|
private String m_sMASURL = null;
|
|
|
|
|
|
private int m_nDirId = 0;
|
|
|
+
|
|
|
+ private IGovDocumentMgr m_oGovDocumentMgr = (IGovDocumentMgr) DreamFactory
|
|
|
+ .createObjectById("IGovDocumentMgr");
|
|
|
|
|
|
public MetaDataExchange(MyDBManager _dbMgr) {
|
|
|
m_oDBMgr = _dbMgr;
|
|
|
@@ -240,6 +244,9 @@ public abstract class MetaDataExchange {
|
|
|
saveAppendix(oMetaData, appendix);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 处理文章缩略图信息:Thumbfiles
|
|
|
+ m_oGovDocumentMgr.updateThumbAndAttachField(oMetaData);
|
|
|
|
|
|
// 7 记录日志
|
|
|
logger.info("END to dowith the data[" + nSrcId + "] to "
|