Commit ae987001 by mahaisong

fix:加入MinderESFromTaikorES TAG

parent fda2b364
 
...@@ -10,6 +10,7 @@ using Newtonsoft.Json; ...@@ -10,6 +10,7 @@ using Newtonsoft.Json;
using Palas.Protocol; using Palas.Protocol;
using PalasEntityModel; using PalasEntityModel;
using System; using System;
using System.Collections;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
...@@ -381,6 +382,13 @@ namespace TaikorES_ImportLocalES ...@@ -381,6 +382,13 @@ namespace TaikorES_ImportLocalES
_syncState.last_itemid = TaiKorNewsList.LastOrDefault().ItemID.ToString(); _syncState.last_itemid = TaiKorNewsList.LastOrDefault().ItemID.ToString();
_syncState.last_pubdate = TaiKorNewsList.LastOrDefault().FetchTime; _syncState.last_pubdate = TaiKorNewsList.LastOrDefault().FetchTime;
foreach (Item iListtem in TaiKorNewsList)
{
iListtem.Tag = "MinderESFromTaikorES";
}
MinderESAccess.BulkInsertAsync<Item>(TaiKorNewsList.ToArray<Item>()); MinderESAccess.BulkInsertAsync<Item>(TaiKorNewsList.ToArray<Item>());
......
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