From 13ca8b4cab099521fc95d551c4b21c1a7ae5984d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 30 十二月 2022 09:44:04 +0800
Subject: [PATCH] 合作业务-》   采购公告权限,顾问套餐(种类)

---
 zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs b/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs
index f29938b..5b0b402 100644
--- a/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs
+++ b/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs
@@ -37,7 +37,7 @@
                 }
                 var currPage = 1;
                 string sichuanpageurll = "";
-                Thread.CurrentThread.Join(1000 * 60 * 30);//闃绘璁惧畾鏃堕棿
+                //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=9&dbselect=bidx&kw=%E6%84%8F%E5%90%91&start_time=&end_time=&timeType=6&displayZone=%E5%9B%9B%E5%B7%9D&zoneId=51&pppStatus=&agentName=";
@@ -672,8 +672,8 @@
                                                 {
                                                     if (td[i].TextContent.IndexOf("椤圭洰缂栧彿锛�") >= 0)
                                                     {
-
-                                                        OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("/", "").Trim();
+                                                        if (string.IsNullOrEmpty(OpenTenderCode))
+                                                            OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("/", "").Trim();
 
                                                     }
                                                     if (td[i].TextContent.IndexOf("棰勭畻閲戦锛�") >= 0)
@@ -988,8 +988,8 @@
                                                 {
                                                     if (td[i].TextContent.IndexOf("椤圭洰缂栧彿锛�") >= 0)
                                                     {
-
-                                                        OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("涓�銆�", "").Trim();
+                                                        if (string.IsNullOrEmpty(OpenTenderCode))
+                                                            OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("涓�銆�", "").Trim();
 
                                                         if (OpenTenderCode.IndexOf("锛堟嫑鏍囨枃浠剁紪鍙�") >= 0)
                                                         {
@@ -1036,8 +1036,8 @@
                                                 {
                                                     if (td[i].TextContent.IndexOf("椤圭洰缂栧彿锛�") >= 0)
                                                     {
-
-                                                        OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("涓�銆�", "").Trim();
+                                                        if (string.IsNullOrEmpty(OpenTenderCode))
+                                                            OpenTenderCode = td[i].TextContent.Replace("椤圭洰缂栧彿锛�", "").Replace("涓�銆�", "").Trim();
 
                                                         if (OpenTenderCode.IndexOf("锛堟嫑鏍囨枃浠剁紪鍙�") >= 0)
                                                         {
@@ -1355,8 +1355,8 @@
                                                 {
                                                     if (td[i].TextContent.IndexOf("鍘熷叕鍛婄殑閲囪喘椤圭洰缂栧彿锛�") >= 0)
                                                     {
-
-                                                        OpenTenderCode = td[i].TextContent.Replace("鍘熷叕鍛婄殑閲囪喘椤圭洰缂栧彿锛�", "").Trim();
+                                                        if (string.IsNullOrEmpty(OpenTenderCode))
+                                                            OpenTenderCode = td[i].TextContent.Replace("鍘熷叕鍛婄殑閲囪喘椤圭洰缂栧彿锛�", "").Trim();
 
                                                     }
                                                     if (td[i].TextContent.IndexOf("棰勭畻閲戦锛�") >= 0)
@@ -1670,8 +1670,8 @@
                                                 {
                                                     if (td[i].TextContent.IndexOf("閲囪喘椤圭洰缂栧彿锛�") >= 0)
                                                     {
-
-                                                        OpenTenderCode = td[i].TextContent.Replace("閲囪喘椤圭洰缂栧彿锛�", "").Trim();
+                                                        if (string.IsNullOrEmpty(OpenTenderCode))
+                                                            OpenTenderCode = td[i].TextContent.Replace("閲囪喘椤圭洰缂栧彿锛�", "").Trim();
 
                                                     }
                                                     if (td[i].TextContent.IndexOf("棰勭畻閲戦锛�") >= 0)

--
Gitblit v1.9.1