From 1a29ebb99b0b49c4e08fbf95bac0e66f0112e5ed Mon Sep 17 00:00:00 2001
From: llj <132905093+newwwwwwtree@users.noreply.github.com>
Date: 星期一, 13 十月 2025 09:21:53 +0800
Subject: [PATCH] 案例,按照类型控制
---
WebAPI/Controllers/CellWidthController.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/WebAPI/Controllers/CellWidthController.cs b/WebAPI/Controllers/CellWidthController.cs
index c0d4be6..95484a2 100644
--- a/WebAPI/Controllers/CellWidthController.cs
+++ b/WebAPI/Controllers/CellWidthController.cs
@@ -136,8 +136,11 @@
{
num = colNum;
}
+
for (int i = 0; i < num; i++)
{
+ // 鍙栨暣鏁伴儴鍒� 鍚﹀垯杞琁nt16鍙兘浼氭姤閿� 杩斿洖鍊间负0
+ array[i] = array[i].Split('.')[0];
bool flag3 = ClsPub.isInt(array[i]) > 500;
if (flag3)
{
--
Gitblit v1.9.1