From 6108fe7c4f3a329e8d309d00ee0b1761b8c5ad8f Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 16 十二月 2022 09:39:55 +0800 Subject: [PATCH] 请示批复”里增加“招标信息网”的试用权限 --- zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs b/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs index f29938b..bbb7387 100644 --- a/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs +++ b/zhengcaioa/Crawler/sichuan/CcgpSichuanoperation.cs @@ -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