bug fixed
parent
55a3a10528
commit
bb0799c9e5
|
|
@ -79,6 +79,7 @@ namespace New_College.Tasks
|
||||||
var list = anghelper.HtmlCreatePageData(p.RegionCode);
|
var list = anghelper.HtmlCreatePageData(p.RegionCode);
|
||||||
list.ForEach(async c =>
|
list.ForEach(async c =>
|
||||||
{
|
{
|
||||||
|
// c.title = c.title.Replace($"{p.SimpleName}:", "");
|
||||||
var newsinfo = await newsInfoServices.Query(e => e.Title.Trim() == c.title);
|
var newsinfo = await newsInfoServices.Query(e => e.Title.Trim() == c.title);
|
||||||
if (!newsinfo.Any() && c.pubtime.Year > DateTime.Now.Year - 1)
|
if (!newsinfo.Any() && c.pubtime.Year > DateTime.Now.Year - 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue