| | |
| | | } |
| | | using (HttpClient clientdtl = new HttpClient()) |
| | | { |
| | | var zhengfuProjectcount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "02" && x.OpenTenderTime == DateTime.Parse(NoticeTime))); |
| | | var notime = DateTime.Parse(NoticeTime).ToString("yyyy-MM-dd"); |
| | | var notimestart = DateTime.Parse(notime); |
| | | var notimeend = notimestart.AddDays(1); |
| | | var zhengfuProjectcount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "02" && x.NoticeTime >= notimestart && x.NoticeTime < notimeend) ); |
| | | |
| | | |
| | | if (zhengfuProjectcount <= 0) |
| | |
| | | } |
| | | using (HttpClient clientdtl = new HttpClient()) |
| | | { |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "01" && x.OpenTenderTime == DateTime.Parse(NoticeTime))); |
| | | var notime = DateTime.Parse(NoticeTime).ToString("yyyy-MM-dd"); |
| | | var notimestart = DateTime.Parse(notime); |
| | | var notimeend = notimestart.AddDays(1); |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "01" && x.NoticeTime >= notimestart && x.NoticeTime < notimeend)); |
| | | if (zhengfuProjectCount <= 0) |
| | | { |
| | | clientdtl.Timeout = TimeSpan.FromSeconds(60); |
| | |
| | | } |
| | | using (HttpClient clientdtl = new HttpClient()) |
| | | { |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "03" && x.OpenTenderTime == DateTime.Parse(NoticeTime))); |
| | | var notime = DateTime.Parse(NoticeTime).ToString("yyyy-MM-dd"); |
| | | var notimestart = DateTime.Parse(notime); |
| | | var notimeend = notimestart.AddDays(1); |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "03" && x.NoticeTime >= notimestart && x.NoticeTime < notimeend)); |
| | | if (zhengfuProjectCount <= 0) |
| | | { |
| | | clientdtl.Timeout = TimeSpan.FromSeconds(60); |
| | |
| | | } |
| | | using (HttpClient clientdtl = new HttpClient()) |
| | | { |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "04" && x.OpenTenderTime == DateTime.Parse(NoticeTime))); |
| | | var notime = DateTime.Parse(NoticeTime).ToString("yyyy-MM-dd"); |
| | | var notimestart = DateTime.Parse(notime); |
| | | var notimeend = notimestart.AddDays(1); |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "04" && x.NoticeTime >= notimestart && x.NoticeTime < notimeend)); |
| | | if (zhengfuProjectCount <= 0) |
| | | { |
| | | clientdtl.Timeout = TimeSpan.FromSeconds(60); |
| | |
| | | } |
| | | using (HttpClient clientdtl = new HttpClient()) |
| | | { |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "11" && x.OpenTenderTime == DateTime.Parse(NoticeTime))); |
| | | var notime = DateTime.Parse(NoticeTime).ToString("yyyy-MM-dd"); |
| | | var notimestart = DateTime.Parse(notime); |
| | | var notimeend = notimestart.AddDays(1); |
| | | var zhengfuProjectCount = _ccontext.ZhengfuProjects.Count(x => (x.RecStatus == "A" && x.Pageurl == aaaaaaaa.pageurl) || (x.RecStatus == "A" && x.Title == aaaaaaaa.title && x.Gglx == "11" && x.NoticeTime >= notimestart && x.NoticeTime < notimeend)); |
| | | if (zhengfuProjectCount <= 0) |
| | | { |
| | | clientdtl.Timeout = TimeSpan.FromSeconds(60); |