Commit 56524419 authored by 黄奎's avatar 黄奎

111

parent c0d0bacb
...@@ -32,6 +32,13 @@ namespace EduSpider.Repository ...@@ -32,6 +32,13 @@ namespace EduSpider.Repository
StuUid = item.StuUid, StuUid = item.StuUid,
HomeWorkId = item.HomeWorkId, HomeWorkId = item.HomeWorkId,
}).FirstOrDefault(); }).FirstOrDefault();
if (VTX.FW.Helper.ConvertHelper.FormatDate(item.CreateTime) != "")
{
}
else
{
string createTimeStr = ""; string createTimeStr = "";
if (defaultModel != null) if (defaultModel != null)
{ {
...@@ -58,6 +65,7 @@ namespace EduSpider.Repository ...@@ -58,6 +65,7 @@ namespace EduSpider.Repository
{ {
item.CreateTime = DateTime.Now; item.CreateTime = DateTime.Now;
} }
}
// flag = base.Insert(item) > 0; // flag = base.Insert(item) > 0;
} }
bool flag = BatchInsert(list); bool flag = BatchInsert(list);
......
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