From 75becef0f11422bc9804c661c3b7ff38357f6aaa Mon Sep 17 00:00:00 2001 From: chenhaozhe <cgz@hz-kingdee.com> Date: 星期五, 15 八月 2025 09:29:38 +0800 Subject: [PATCH] 修复 列宽查询时 若保存的列宽为浮点数 读取时数据为0的 异常 --- 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