From d63ce13fd7257f996de70a5a5adc4718eb86bb6a Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期四, 28 十一月 2024 15:56:55 +0800
Subject: [PATCH] 添加 模拟计算工程号查询功能
---
north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
index 2005bf1..67f5cb4 100644
--- a/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
+++ b/north-glass-erp/src/test/java/com/example/erp/ErpApplicationTests.java
@@ -8,6 +8,7 @@
@Test
void contextLoads() {
+ String.valueOf("1.0").replaceAll("\\.0*$|(\\.\\d*?)0+$", "$1");
}
}
--
Gitblit v1.8.0