username@email.com
2022-12-05 841273f01aa22a6c78aa9c2cc7d350bf705eacdb
提交
2个文件已修改
99 ■■■■■ 已修改文件
zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs 93 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/zhengcaioa/Views/AdmAsk/CustomerWithdrawal.cshtml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs
@@ -45,7 +45,7 @@
                yixianggonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage);
                logg.WriteLog("中国政采网四川省意向公开 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 公开招标
@@ -55,6 +55,7 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "1", "公开招标");
                logg.WriteLog("中国政采网四川省采购公告 公开招标 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 询价
                currPage = 1;
@@ -63,6 +64,8 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "4", "询价");
                logg.WriteLog("中国政采网四川省采购公告 询价 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 竞争性谈判
                currPage = 1;
                sichuanpageurll = "http://search.ccgp.gov.cn/bxsearch?searchtype=1&page_index=1&bidSort=0&buyerName=&projectId=&pinMu=0&bidType=3&dbselect=bidx&kw=&start_time=&end_time=&timeType=6&displayZone=%E5%9B%9B%E5%B7%9D&zoneId=51&pppStatus=&agentName=";
@@ -70,6 +73,8 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "5", "竞争性谈判");
                logg.WriteLog("中国政采网四川省采购公告 竞争性谈判 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 单一来源
                currPage = 1;
                sichuanpageurll = "http://search.ccgp.gov.cn/bxsearch?searchtype=1&page_index=1&bidSort=0&buyerName=&projectId=&pinMu=0&bidType=4&dbselect=bidx&kw=&start_time=&end_time=&timeType=6&displayZone=%E5%9B%9B%E5%B7%9D&zoneId=51&pppStatus=&agentName=";
@@ -77,6 +82,8 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "7", "单一来源");
                logg.WriteLog("中国政采网四川省采购公告 单一来源 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 邀请招标
                currPage = 1;
                sichuanpageurll = "http://search.ccgp.gov.cn/bxsearch?searchtype=1&page_index=1&bidSort=0&buyerName=&projectId=&pinMu=0&bidType=6&dbselect=bidx&kw=&start_time=&end_time=&timeType=6&displayZone=%E5%9B%9B%E5%B7%9D&zoneId=51&pppStatus=&agentName=";
@@ -84,6 +91,8 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "2", "邀请招标");
                logg.WriteLog("中国政采网四川省采购公告 邀请招标 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 竞争性磋商
                currPage = 1;
                sichuanpageurll = "http://search.ccgp.gov.cn/bxsearch?searchtype=1&page_index=1&bidSort=0&buyerName=&projectId=&pinMu=0&bidType=10&dbselect=bidx&kw=&start_time=&end_time=&timeType=6&displayZone=%E5%9B%9B%E5%B7%9D&zoneId=51&pppStatus=&agentName=";
@@ -91,7 +100,7 @@
                caigougonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage, "3", "竞争性磋商");
                logg.WriteLog("中国政采网四川省采购公告 竞争性磋商 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 中标公告
@@ -101,7 +110,7 @@
                zhongbiaogonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage);
                logg.WriteLog("中国政采网四川省中标公告 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 成交公告
                currPage = 1;
@@ -110,7 +119,7 @@
                zhongbiaogonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage);
                logg.WriteLog("中国政采网四川省成交公告 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 更正公告
                currPage = 1;
@@ -119,7 +128,7 @@
                gengzhenggonggao(_ccontext, sichuanpageurll, operationStartTime, operationEndTime, currPage);
                logg.WriteLog("中国政采网四川省更正公告 开始获取结束", "中国政采网四川省");
                #endregion
                Thread.CurrentThread.Join(1000 * 60 * 30);//阻止设定时间
                #region 废标公告
                currPage = 1;
@@ -177,8 +186,11 @@
                Thread.CurrentThread.Join(1000 * 5);//阻止设定时间
                logg.WriteLog(page.ToString(), "中国政采网四川省");
                string sichuanpageurl2 = sichuanpageurll.Replace("page_index=1", "page_index=" + page);
                try
                {
                using (HttpClient client = new HttpClient())
                {
                        client.Timeout = TimeSpan.FromSeconds(60);
                    //List<sichuanjieshoudtl> data = new List<sichuanjieshoudtl>();
                    HttpResponseMessage response = client.GetAsync(sichuanpageurl2).Result;
                    var res = response.Content.ReadAsStringAsync().Result;
@@ -258,6 +270,7 @@
                                    if (zhengfuProjectcount <= 0)
                                    {
                                            clientdtl.Timeout = TimeSpan.FromSeconds(60);
                                        HttpResponseMessage responsedtl = clientdtl.GetAsync(aaaaaaaa.pageurl).Result;
                                        var resdtl = responsedtl.Content.ReadAsStringAsync().Result;
                                        var documentdtl = parser.ParseDocument(resdtl);
@@ -502,6 +515,16 @@
                        }
                    }
                }
                }
                catch (Exception ex)
                {
                    logg.WriteLog(ex.Message, "中国政采网四川省");
                    logg.WriteLog(ex.StackTrace, "中国政采网四川省");
                    logg.WriteLog(ex.ToString(), "中国政采网四川省");
                }
                page += 1;
               
            }
@@ -528,8 +551,11 @@
                Thread.CurrentThread.Join(1000 * 5);//阻止设定时间
                logg.WriteLog(page.ToString(), "中国政采网四川省");
                string sichuanpageurl2 = sichuanpageurll.Replace("page_index=1", "page_index=" + page);
                try
                {
                using (HttpClient client = new HttpClient())
                {
                        client.Timeout = TimeSpan.FromSeconds(60);
                    //List<sichuanjieshoudtl> data = new List<sichuanjieshoudtl>();
                    HttpResponseMessage response = client.GetAsync(sichuanpageurl2).Result;
                    var res = response.Content.ReadAsStringAsync().Result;
@@ -604,6 +630,7 @@
                                    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)));
                                    if (zhengfuProjectCount <=0)
                                    {
                                            clientdtl.Timeout = TimeSpan.FromSeconds(60);
                                        HttpResponseMessage responsedtl = clientdtl.GetAsync(aaaaaaaa.pageurl).Result;
                                        var resdtl = responsedtl.Content.ReadAsStringAsync().Result;
                                        var documentdtl = parser.ParseDocument(resdtl);
@@ -796,6 +823,17 @@
                        }
                    }
                }
                }
                catch (Exception ex)
                {
                    logg.WriteLog(ex.Message, "中国政采网四川省");
                    logg.WriteLog(ex.StackTrace, "中国政采网四川省");
                    logg.WriteLog(ex.ToString(), "中国政采网四川省");
                }
                page += 1;
                
            }
@@ -822,8 +860,11 @@
                Thread.CurrentThread.Join(1000 * 5);//阻止设定时间
                logg.WriteLog(page.ToString(), "中国政采网四川省");
                string sichuanpageurl2 = sichuanpageurll.Replace("page_index=1", "page_index=" + page);
                try
                {
                using (HttpClient client = new HttpClient())
                {
                        client.Timeout = TimeSpan.FromSeconds(60);
                    //List<sichuanjieshoudtl> data = new List<sichuanjieshoudtl>();
                    HttpResponseMessage response = client.GetAsync(sichuanpageurl2).Result;
                    var res = response.Content.ReadAsStringAsync().Result;
@@ -899,6 +940,7 @@
                                    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)));
                                    if (zhengfuProjectCount <=0)
                                    {
                                            clientdtl.Timeout = TimeSpan.FromSeconds(60);
                                        HttpResponseMessage responsedtl = clientdtl.GetAsync(aaaaaaaa.pageurl).Result;
                                        var resdtl = responsedtl.Content.ReadAsStringAsync().Result;
                                        var documentdtl = parser.ParseDocument(resdtl);
@@ -1144,6 +1186,17 @@
                        }
                    }
                }
                }
                catch (Exception ex)
                {
                    logg.WriteLog(ex.Message, "中国政采网四川省");
                    logg.WriteLog(ex.StackTrace, "中国政采网四川省");
                    logg.WriteLog(ex.ToString(), "中国政采网四川省");
                }
                page += 1;
               
            }
@@ -1169,8 +1222,11 @@
                Thread.CurrentThread.Join(1000 * 5);//阻止设定时间
                logg.WriteLog(page.ToString(), "中国政采网四川省");
                string sichuanpageurl2 = sichuanpageurll.Replace("page_index=1", "page_index=" + page);
                try
                {
                using (HttpClient client = new HttpClient())
                {
                        client.Timeout = TimeSpan.FromSeconds(60);
                    //List<sichuanjieshoudtl> data = new List<sichuanjieshoudtl>();
                    HttpResponseMessage response = client.GetAsync(sichuanpageurl2).Result;
                    var res = response.Content.ReadAsStringAsync().Result;
@@ -1246,6 +1302,7 @@
                                    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)));
                                    if (zhengfuProjectCount<=0)
                                    {
                                            clientdtl.Timeout = TimeSpan.FromSeconds(60);
                                        HttpResponseMessage responsedtl = clientdtl.GetAsync(aaaaaaaa.pageurl).Result;
                                        var resdtl = responsedtl.Content.ReadAsStringAsync().Result;
                                        var documentdtl = parser.ParseDocument(resdtl);
@@ -1437,6 +1494,17 @@
                        }
                    }
                }
                }
                catch (Exception ex)
                {
                    logg.WriteLog(ex.Message, "中国政采网四川省");
                    logg.WriteLog(ex.StackTrace, "中国政采网四川省");
                    logg.WriteLog(ex.ToString(), "中国政采网四川省");
                }
                page += 1;
              
            }
@@ -1463,9 +1531,12 @@
                Thread.CurrentThread.Join(1000 * 5);//阻止设定时间
                logg.WriteLog(page.ToString(), "中国政采网四川省");
                string sichuanpageurl2 = sichuanpageurll.Replace("page_index=1", "page_index=" + page);
                try
                {
                using (HttpClient client = new HttpClient())
                {
                    //List<sichuanjieshoudtl> data = new List<sichuanjieshoudtl>();
                        client.Timeout = TimeSpan.FromSeconds(60);
                    HttpResponseMessage response = client.GetAsync(sichuanpageurl2).Result;
                    var res = response.Content.ReadAsStringAsync().Result;
                    var document = parser.ParseDocument(res);
@@ -1540,6 +1611,7 @@
                                    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)));
                                    if (zhengfuProjectCount <=0)
                                    {
                                            clientdtl.Timeout = TimeSpan.FromSeconds(60);
                                        HttpResponseMessage responsedtl = clientdtl.GetAsync(aaaaaaaa.pageurl).Result;
                                        var resdtl = responsedtl.Content.ReadAsStringAsync().Result;
                                        var documentdtl = parser.ParseDocument(resdtl);
@@ -1732,6 +1804,17 @@
                        }
                    }
                }
                }
                catch (Exception ex)
                {
                    logg.WriteLog(ex.Message, "中国政采网四川省");
                    logg.WriteLog(ex.StackTrace, "中国政采网四川省");
                    logg.WriteLog(ex.ToString(), "中国政采网四川省");
                }
                page += 1;
               
            }
zhengcaioa/zhengcaioa/Views/AdmAsk/CustomerWithdrawal.cshtml
@@ -368,7 +368,7 @@
                return;
            }
            if ("@Html.Raw(dangqianbuzhou)" == "财务审批") {
            if ("@Html.Raw(dangqianbuzhou)" == "财务审批" && tongyi == "A") {
                if ($.trim($("#Accounttype").val()) == '') {
                    toastr.warning("账户类型不能为空");
                    return;
@@ -457,6 +457,8 @@
                            city.append(o);
                        }
                    }
                    city.val("fa32da5c-56d4-4d53-8209-cc503e24ae92");
                },
                error: function () {
@@ -465,7 +467,7 @@
                }
            });
        });
        $("#Accounttype").val("05");
        $("#Accounttype").trigger("change");
    </script>
</body>