From 96bca0db0b7298f1e5a8510e3f657c2460276003 Mon Sep 17 00:00:00 2001 From: pzy <2829717936@qq.com> Date: 星期三, 18 九月 2024 10:15:22 +0800 Subject: [PATCH] 导入任务1 --- WebAPI/Controllers/BaseSet/Gy_CustomerController.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs index 61379b9..cd5c648 100644 --- a/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_CustomerController.cs @@ -281,7 +281,7 @@ } string HNumber = ds.Tables[0].Rows[0]["瀹㈡埛浠g爜"].ToString(); // 浣跨敤姝e垯琛ㄨ揪寮忔壘鍒版暟瀛楅儴鍒� (?<=\D)鏄竴涓浂瀹芥柇瑷�锛岃〃绀哄墠闈㈢殑瀛楃涓嶆槸鏁板瓧 (\d+)$琛ㄧず鍚庨潰璺熺潃涓�杩炰覆瀛楃涓茬煡閬撴湯灏� - Match match = Regex.Match(HNumber, @"(?<=\D)(\d+)$"); + Match match = Regex.Match(HNumber, @"(\d+)$"); if (match.Success) { string prefix = HNumber.Substring(0, HNumber.Length - match.Length); // 鎻愬彇鍓嶇紑 -- Gitblit v1.9.1