Commit 5661bfca authored by 黄奎's avatar 黄奎

1111

parent d5b356df
...@@ -32,12 +32,7 @@ namespace EduSpider.Repository ...@@ -32,12 +32,7 @@ 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)
{ {
...@@ -65,8 +60,6 @@ namespace EduSpider.Repository ...@@ -65,8 +60,6 @@ namespace EduSpider.Repository
item.CreateTime = DateTime.Now; item.CreateTime = DateTime.Now;
} }
} }
// flag = base.Insert(item) > 0;
}
bool flag = BatchInsert(list); bool flag = BatchInsert(list);
return flag; return flag;
} }
......
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