From 40d24ee7853cde88f4a6cdfabd87dbd0d7514075 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期五, 05 七月 2024 14:40:18 +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